BulkWriters128

First 128 "bulk writers".
git clone https://git.philomathiclife.com/repos/BulkWriters128
Log | Files | Refs | README

commit b9239c8d471de777b9fd2c613cfd470227cc7b4e
Author: Zack Newman <zack@philomathiclife.com>
Date:   Mon, 20 Mar 2023 16:26:23 -0600

initial

Diffstat:
A.editorconfig | 1117+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.gitignore | 2++
AAssemblyInfo.cs | 8++++++++
ABulkWriterBaseCase.cs | 190+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ABulkWriters.cs | 145+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ABulkWriters128.csproj | 77+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
AIterDataReaderBaseCase.cs | 241+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
AIterDataReaders.cs | 142+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ALICENSE-APACHE | 177+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ALICENSE-MIT | 20++++++++++++++++++++
AREADME.md | 13+++++++++++++
11 files changed, 2132 insertions(+), 0 deletions(-)

diff --git a/.editorconfig b/.editorconfig @@ -0,0 +1,1117 @@ +# Remove the line below if you want to inherit .editorconfig settings from higher directories +root = true + +# Don't use tabs for indentation. +[*] +indent_style = space +charset = utf-8 + +# XML project files +[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}] +indent_size = 2 + +# XML config files +[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}] +indent_size = 2 + +# JSON files +[*.json] +indent_size = 2 + +# Powershell files +[*.ps1] +indent_size = 2 + +# Shell script files +[*.sh] +end_of_line = lf +indent_size = 2 + +# Code files +[*.{cs,csx,vb,vbx}] +# Indentation and spacing +indent_size = 4 +tab_width = 4 + +# New line preferences +end_of_line = lf +insert_final_newline = false +dotnet_style_allow_multiple_blank_lines_experimental = false:error +dotnet_style_allow_statement_immediately_after_block_experimental = true:error + +#### .NET Coding Conventions #### + +# Organize usings +dotnet_separate_import_directive_groups = false +dotnet_sort_system_directives_first = false +file_header_template = unset + +# this. and Me. preferences +dotnet_style_qualification_for_event = false:error +dotnet_style_qualification_for_field = false:error +dotnet_style_qualification_for_method = false:error +dotnet_style_qualification_for_property = false:error + +# Language keywords vs BCL types preferences +dotnet_style_predefined_type_for_locals_parameters_members = true:error +dotnet_style_predefined_type_for_member_access = true:error + +# Parentheses preferences +dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:error +dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:error +dotnet_style_parentheses_in_other_operators = never_if_unnecessary:error +dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:error + +# Modifier preferences +dotnet_style_require_accessibility_modifiers = omit_if_default:error + +# Expression-level preferences +dotnet_style_coalesce_expression = true:error +dotnet_style_collection_initializer = true:error +dotnet_style_explicit_tuple_names = true:error +dotnet_style_null_propagation = true:error +dotnet_style_object_initializer = true:error +dotnet_style_operator_placement_when_wrapping = beginning_of_line +dotnet_style_prefer_auto_properties = true:error +dotnet_style_prefer_compound_assignment = true:error +dotnet_style_prefer_conditional_expression_over_assignment = true:error +dotnet_style_prefer_conditional_expression_over_return = true:error +dotnet_style_prefer_inferred_anonymous_type_member_names = true:error +dotnet_style_prefer_inferred_tuple_names = true:error +dotnet_style_prefer_is_null_check_over_reference_equality_method = true:error +dotnet_style_prefer_simplified_boolean_expressions = true:error +dotnet_style_prefer_simplified_interpolation = true:suggestion + +# Field preferences +dotnet_style_readonly_field = true:error + +# Parameter preferences +dotnet_code_quality_unused_parameters = all:error + +# Suppression preferences +dotnet_remove_unnecessary_suppression_exclusions = error + +#### C# Coding Conventions #### + +# var preferences +csharp_style_var_elsewhere = true:error +csharp_style_var_for_built_in_types = true:error +csharp_style_var_when_type_is_apparent = true:error + +# Expression-bodied members +csharp_style_expression_bodied_accessors = true:error +csharp_style_expression_bodied_constructors = true:error +csharp_style_expression_bodied_indexers = true:error +csharp_style_expression_bodied_lambdas = true:error +csharp_style_expression_bodied_local_functions = true:error +csharp_style_expression_bodied_methods = true:error +csharp_style_expression_bodied_operators = true:error +csharp_style_expression_bodied_properties = true:error + +# Pattern matching preferences +csharp_style_pattern_matching_over_as_with_null_check = true:error +csharp_style_pattern_matching_over_is_with_cast_check = true:error +csharp_style_prefer_not_pattern = true:error +csharp_style_prefer_pattern_matching = true:error +csharp_style_prefer_switch_expression = true:error + +# Null-checking preferences +csharp_style_conditional_delegate_call = true:error + +# Modifier preferences +csharp_prefer_static_local_function = true:error +csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:error + +# Code-block preferences +csharp_prefer_braces = true:error +csharp_prefer_simple_using_statement = true:error + +# Expression-level preferences +csharp_prefer_simple_default_expression = true:error +csharp_style_deconstructed_variable_declaration = true:error +csharp_style_inlined_variable_declaration = true:error +csharp_style_pattern_local_over_anonymous_function = true:error +csharp_style_prefer_index_operator = true:error +csharp_style_prefer_range_operator = true:error +csharp_style_throw_expression = true:error +csharp_style_unused_value_assignment_preference = unused_local_variable:error +csharp_style_unused_value_expression_statement_preference = unused_local_variable:error + +# 'using' directive preferences +csharp_using_directive_placement = outside_namespace:error + +#### C# Formatting Rules #### + +# New line preferences +csharp_new_line_before_catch = false:error +csharp_new_line_before_else = false:error +csharp_new_line_before_finally = false:error +csharp_new_line_before_members_in_anonymous_types = true:error +csharp_new_line_before_members_in_object_initializers = true:error +csharp_new_line_before_open_brace = none:error +csharp_new_line_between_query_expression_clauses = true:error + +# Indentation preferences +csharp_indent_block_contents = true:error +csharp_indent_braces = false:error +csharp_indent_case_contents = true:error +csharp_indent_case_contents_when_block = true:error +csharp_indent_labels = one_less_than_current:error +csharp_indent_switch_labels = true:error + +# Space preferences +csharp_space_after_cast = false:error +csharp_space_after_colon_in_inheritance_clause = true:error +csharp_space_after_comma = true:error +csharp_space_after_dot = false:error +csharp_space_after_keywords_in_control_flow_statements = true:error +csharp_space_after_semicolon_in_for_statement = true:error +csharp_space_around_binary_operators = before_and_after:error +csharp_space_around_declaration_statements = false:error +csharp_space_before_colon_in_inheritance_clause = false:error +csharp_space_before_comma = false:error +csharp_space_before_dot = false:error +csharp_space_before_open_square_brackets = false:error +csharp_space_before_semicolon_in_for_statement = false:error +csharp_space_between_empty_square_brackets = false:error +csharp_space_between_method_call_empty_parameter_list_parentheses = false:error +csharp_space_between_method_call_name_and_opening_parenthesis = false:error +csharp_space_between_method_call_parameter_list_parentheses = false:error +csharp_space_between_method_declaration_empty_parameter_list_parentheses = false:error +csharp_space_between_method_declaration_name_and_open_parenthesis = false:error +csharp_space_between_method_declaration_parameter_list_parentheses = false:error +csharp_space_between_parentheses = false:error +csharp_space_between_square_brackets = false:error + +# Wrapping preferences +csharp_preserve_single_line_blocks = true:error +csharp_preserve_single_line_statements = true:error + +#### Naming styles #### + +# Naming rules + +dotnet_naming_rule.interface_should_be_begins_with_i.severity = error +dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface +dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i + +dotnet_naming_rule.types_should_be_pascal_case.severity = error +dotnet_naming_rule.types_should_be_pascal_case.symbols = types +dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case + +dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = error +dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members +dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case + +# Symbol specifications + +dotnet_naming_symbols.interface.applicable_kinds = interface +dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.interface.required_modifiers = + +dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum +dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.types.required_modifiers = + +dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method +dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.non_field_members.required_modifiers = + +# Naming styles + +dotnet_naming_style.pascal_case.required_prefix = +dotnet_naming_style.pascal_case.required_suffix = +dotnet_naming_style.pascal_case.word_separator = +dotnet_naming_style.pascal_case.capitalization = pascal_case + +dotnet_naming_style.begins_with_i.required_prefix = I +dotnet_naming_style.begins_with_i.required_suffix = +dotnet_naming_style.begins_with_i.word_separator = +dotnet_naming_style.begins_with_i.capitalization = pascal_case + +### Microsoft.CodeAnalysis.Analyzers Rules + +# RS1001: Missing diagnostic analyzer attribute +dotnet_diagnostic.RS1001.severity = error + +# RS1002: Missing kind argument when registering an analyzer action +dotnet_diagnostic.RS1002.severity = error + +# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action +dotnet_diagnostic.RS1003.severity = error + +# RS1004: Recommend adding language support to diagnostic analyzer +dotnet_diagnostic.RS1004.severity = error + +# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor +dotnet_diagnostic.RS1005.severity = error + +# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method +dotnet_diagnostic.RS1006.severity = error + +# RS1007: Provide localizable arguments to diagnostic descriptor constructor +dotnet_diagnostic.RS1007.severity = error + +# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer +dotnet_diagnostic.RS1008.severity = error + +# RS1009: Only internal implementations of this interface are allowed +dotnet_diagnostic.RS1009.severity = error + +# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support +dotnet_diagnostic.RS1010.severity = error + +# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support +dotnet_diagnostic.RS1011.severity = error + +# RS1012: Start action has no registered actions +dotnet_diagnostic.RS1012.severity = error + +# RS1013: Start action has no registered non-end actions +dotnet_diagnostic.RS1013.severity = error + +# RS1014: Do not ignore values returned by methods on immutable objects. +dotnet_diagnostic.RS1014.severity = error + +# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor +dotnet_diagnostic.RS1015.severity = error + +# RS1016: Code fix providers should provide FixAll support +dotnet_diagnostic.RS1016.severity = error + +# RS1017: DiagnosticId for analyzers must be a non-null constant +dotnet_diagnostic.RS1017.severity = error + +# RS1018: DiagnosticId for analyzers must be in specified format +dotnet_diagnostic.RS1018.severity = error + +# RS1019: DiagnosticId must be unique across analyzers +dotnet_diagnostic.RS1019.severity = error + +# RS1020: Category for analyzers must be from the specified values +dotnet_diagnostic.RS1020.severity = error + +# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file +dotnet_diagnostic.RS1021.severity = error + +# RS1022: Do not use types from Workspaces assembly in an analyzer +dotnet_diagnostic.RS1022.severity = error + +# RS1023: Upgrade MSBuildWorkspace +dotnet_diagnostic.RS1023.severity = error + +# RS1024: Compare symbols correctly +dotnet_diagnostic.RS1024.severity = error + +# RS1025: Configure generated code analysis +dotnet_diagnostic.RS1025.severity = error + +# RS1026: Enable concurrent execution +dotnet_diagnostic.RS1026.severity = error + +# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer +dotnet_diagnostic.RS1027.severity = error + +# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor +dotnet_diagnostic.RS1028.severity = error + +# RS1029: Do not use reserved diagnostic IDs +dotnet_diagnostic.RS1029.severity = error + +# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer +dotnet_diagnostic.RS1030.severity = error + +# RS1031: Define diagnostic title correctly +dotnet_diagnostic.RS1031.severity = error + +# RS1032: Define diagnostic message correctly +dotnet_diagnostic.RS1032.severity = error + +# RS1033: Define diagnostic description correctly +dotnet_diagnostic.RS1033.severity = error + +# RS2000: Add analyzer diagnostic IDs to analyzer release. +dotnet_diagnostic.RS2000.severity = error + +# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release. +dotnet_diagnostic.RS2001.severity = error + +# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release. +dotnet_diagnostic.RS2002.severity = error + +# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file. +dotnet_diagnostic.RS2003.severity = error + +# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers. +dotnet_diagnostic.RS2004.severity = error + +# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release. +dotnet_diagnostic.RS2005.severity = error + +# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases. +dotnet_diagnostic.RS2006.severity = error + +# RS2007: Invalid entry in analyzer release file. +dotnet_diagnostic.RS2007.severity = error + +# RS2008: Enable analyzer release tracking +dotnet_diagnostic.RS2008.severity = error + +### Microsoft.CodeAnalysis.FxCopAnalyzers Rules + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = error + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing. +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +### Microsoft.CodeAnalysis.VersionCheckAnalyzer Rules + +# CA9999: Analyzer version mismatch +dotnet_diagnostic.CA9999.severity = error + +### Microsoft.CodeQuality.Analyzers Rules + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = error + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = error + +# CA1005: Avoid excessive parameters on generic types +dotnet_diagnostic.CA1005.severity = error + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = error + +# CA1014: Mark assemblies with CLSCompliant +dotnet_diagnostic.CA1014.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1017: Mark assemblies with ComVisible +dotnet_diagnostic.CA1017.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = error + +# CA1021: Avoid out parameters +dotnet_diagnostic.CA1021.severity = error + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = error + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = none + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = none + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = error + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = error + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = error + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = error + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = error + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = error + +# CA1045: Do not pass types by reference +dotnet_diagnostic.CA1045.severity = none + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = error + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = error + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = error + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = error + +# CA1060: Move pinvokes to native methods class +dotnet_diagnostic.CA1060.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = none + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = error + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = error + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = error + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable<T> +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error + +# CA1501: Avoid excessive inheritance +dotnet_diagnostic.CA1501.severity = error + +# CA1502: Avoid excessive complexity +dotnet_diagnostic.CA1502.severity = none + +# CA1505: Avoid unmaintainable code +dotnet_diagnostic.CA1505.severity = error + +# CA1506: Avoid excessive class coupling +dotnet_diagnostic.CA1506.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = error + +# CA1509: Invalid entry in code metrics rule specification file +dotnet_diagnostic.CA1509.severity = error + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = error + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = error + +# CA1714: Flags enums should have plural names +dotnet_diagnostic.CA1714.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1717: Only FlagsAttribute enums should have plural names +dotnet_diagnostic.CA1717.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = error + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1801: Review unused parameters +dotnet_diagnostic.CA1801.severity = error + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = error + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = error + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = none + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = error + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2109: Review visible event handlers +dotnet_diagnostic.CA2109.severity = error + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = error + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = none + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = error + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +### Microsoft.NetCore.Analyzers Rules + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1307: Specify StringComparison +dotnet_diagnostic.CA1307.severity = error + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = error + +# CA1309: Use ordinal stringcomparison +dotnet_diagnostic.CA1309.severity = error + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = none + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = error + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = error + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager<T> +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods that take one +dotnet_diagnostic.CA2016.severity = error + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = error + +# CA2229: Implement serialization constructors +dotnet_diagnostic.CA2229.severity = error + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = error + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = error + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = error + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = error + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = error + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = error + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = error + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = error + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = error + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = error + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = error + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = error + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = error + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = error + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = error + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = error + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = error + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = error + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = error + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = error + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = error + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = error + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = error + +# CA2361: Ensure autogenerated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = error + +# CA2362: Unsafe DataSet or DataTable in autogenerated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = error + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = error + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = error + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = error + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = error + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = error + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = error + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = error + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = error + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = error + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = error + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = error + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = error + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = error + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader For DataSet Read Xml +dotnet_diagnostic.CA5366.severity = error + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader For Deserialize +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader For Validating Reader +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader For Schema Read +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader For XPathDocument +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = error + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = error + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = error + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = error + +# CA5379: Do Not Use Weak Key Derivation Function Algorithm +dotnet_diagnostic.CA5379.severity = error + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = error + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = error + +# CA5382: Use Secure Cookies In ASP.Net Core +dotnet_diagnostic.CA5382.severity = error + +# CA5383: Ensure Use Secure Cookies In ASP.Net Core +dotnet_diagnostic.CA5383.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest–Shamir–Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = error + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = error + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = error + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = error + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = error + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = error + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = error + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = error + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = error + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = error + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = error + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = error + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = error + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = error + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = error + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = error + +# IL3000: Avoid using accessing Assembly file path when publishing as a single-file +dotnet_diagnostic.IL3000.severity = error + +# IL3001: Avoid using accessing Assembly file path when publishing as a single-file +dotnet_diagnostic.IL3001.severity = error + +# IDE0071: String interpolation can be simplified +dotnet_diagnostic.IDE0071.severity = none + +# IDE0064: Make readonly fields writable +dotnet_diagnostic.IDE0064.severity = error + +dotnet_diagnostic.IL2111.severity = none + +dotnet_diagnostic.IL2093.severity = none diff --git a/.gitignore b/.gitignore @@ -0,0 +1,2 @@ +bin/** +obj/** diff --git a/AssemblyInfo.cs b/AssemblyInfo.cs @@ -0,0 +1,7 @@ +using System; +using System.Reflection; + +[assembly: AssemblyCulture("")] +[assembly: AssemblyDefaultAlias("SQL Server Bulk Writers")] +[assembly: AssemblyTrademark("")] +[assembly: CLSCompliant(false)] +\ No newline at end of file diff --git a/BulkWriterBaseCase.cs b/BulkWriterBaseCase.cs @@ -0,0 +1,190 @@ +using Microsoft.Data.SqlClient; +using Serde.Bin.Ser; +using Std; +using Std.Iter; +using Std.Maybe; +using Std.Num; +using Std.Result; +using System; +using System.Data; +using System.Diagnostics; +using static SQLServer.Helpers; +using System.Runtime.InteropServices; +#region Namespaces +namespace SQLServer { + #region Types + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode, Pack = 0)] + public struct BulkWriter<T0>: IBulkWriter where T0: struct, IDataType { + + #region Type-level Constructors + #endregion + + #region Instance Constructors + public BulkWriter() => throw new InvalidOperationException("Parameterless constructor is not allowed to be called!"); + BulkWriter(UserTable table, Maybe<ErrorTable> errTable, Prod<ulong, double> maxErrorsAllowed, string processName, string userName, bool encrypted, bool encryptedMod) => (Destination, ErrTable, MaxErrorsAllowed, _currentErrorCount, _currentProcessedCount, _processName, _userName, _containsEncryptedColumn, _mustBeAllowEncryptedValueModifications) = (table, errTable, maxErrorsAllowed, ulong.MinValue, ulong.MinValue, processName, userName, encrypted, encryptedMod); + #endregion + + #region Type-level Fields + #endregion + + #region Instance Fields + public readonly Maybe<ErrorTable> ErrTable; + public readonly UserTable Destination; + public readonly Prod<ulong, double> MaxErrorsAllowed; + [System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE0032:Use auto property", Justification = "Prefer fields.")] + ulong _currentErrorCount; + [System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE0032:Use auto property", Justification = "Prefer fields.")] + ulong _currentProcessedCount; + readonly string _processName; + readonly string _userName; + readonly bool _containsEncryptedColumn; + readonly bool _mustBeAllowEncryptedValueModifications; + #endregion + + #region Type-level Properties + #endregion + + #region Instance Properties + readonly Maybe<ErrorTable> IBulkWriter.ErrTable => ErrTable; + readonly UserTable IBulkWriter.Destination => Destination; + readonly Prod<ulong, double> IBulkWriter.MaxErrorsAllowed => MaxErrorsAllowed; + public readonly ulong CurrentErrorCount => _currentErrorCount; + public readonly ulong CurrentProcessedCount => _currentProcessedCount; + public readonly ulong CurrentSuccessfullyProcessedCount => _currentProcessedCount - _currentErrorCount; + public readonly double CurrentErrorRatio => (double)_currentErrorCount / _currentProcessedCount; + public readonly bool IsInError => _currentErrorCount > MaxErrorsAllowed.Item0 && CurrentErrorRatio > MaxErrorsAllowed.Item1; + #endregion + + #region Type-level Functions + public static Result<BulkWriter<T0>, BulkWriterCreateError> New(in UserTable table, Prod<ulong, double> maxErrorsAllowed, in Maybe<ErrorTable> errTable, string processName, string userName) { + + if (table.Schema.Database.IsReadOnly) { + return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly, new StackTrace(1, true))); + } else if (double.IsNaN(maxErrorsAllowed.Item1) || double.IsNegative(maxErrorsAllowed.Item1) || maxErrorsAllowed.Item1 > 1.0d) { + return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio, new StackTrace(1, true))); + } else if (processName.Length > 128) { + return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128, new StackTrace(1, true))); + } else if (userName.Length > 128) { + return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128, new StackTrace(1, true))); + } else { + var counter = ushort.MinValue; + var match = TypeMatch(Std.Iter.Functions.FromFn(() => counter++ switch { ushort.MinValue => new(typeof(T0)), _ => Maybe<Type>.None() }), in table); + return match.IsSome ? match.Unwrap() ? new(new BulkWriter<T0>(table, errTable, maxErrorsAllowed, processName, userName, table.ContainsEncryptedColumn(), false)) : new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch, new StackTrace(1, true))) : new(new BulkWriter<T0>(table, errTable, maxErrorsAllowed, processName, userName, true, true)); + } + } + #endregion + + #region Instance Functions + public override readonly bool Equals(object? _) => false; + public override readonly int GetHashCode() => 0; + readonly void IBulkWriter.Sealed(){} + public override readonly string ToString() => string.Empty; + [System.Diagnostics.CodeAnalysis.SuppressMessage("Security", "CA2100:Review SQL queries for security vulnerabilities", Justification = "Text is generated internally.")] + public Result<Unit, WriteError> Write<TRowIter, TRow, TProd, TErr>(ref TRowIter iter, WriteOptions writeOptions, Maybe<NonZeroUshort> batchSize, Maybe<NonZeroUshort> timeout, bool enableStreaming, bool isSortedAccordingToClusteredIndex, SessionOptions options) where TErr: notnull, IBulkRowError where TProd: notnull, IBinSerializable, IProduct<T0> where TRow: notnull, ISum<TProd, TErr> where TRowIter: notnull, IFusedIterator<TRow> { + + var allowEncryptMod = false; + + if ((writeOptions & WriteOptions.AllowEncryptedValueModifications) == WriteOptions.AllowEncryptedValueModifications) { + + if (_containsEncryptedColumn) { + allowEncryptMod = true; + } else { + return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot, new StackTrace(1, true))); + } + } else if(_mustBeAllowEncryptedValueModifications) { + return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications, new StackTrace(1, true))); + } + using var con = Functions.CreateOpenedConnection(in Destination.Schema.Database, options, !allowEncryptMod && _containsEncryptedColumn, Maybe<Uri>.None()); + + if ((writeOptions & WriteOptions.KeepIdentity) == WriteOptions.KeepIdentity && Destination.ContainsIDENTITYColumn()) { + using var txn = con.BeginTransaction(IsolationLevel.Serializable); + using (SqlCommand qry = new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;", con, txn, SqlCommandColumnEncryptionSetting.Disabled) { CommandTimeout = 60, CommandType = CommandType.Text, EnableOptimizedParameterBinding = true }) { _ = qry.ExecuteNonQuery(); } + txn.Commit(); + } + return WriteInternal<TRowIter, TRow, TProd, TErr>(ref iter, writeOptions, batchSize, timeout, enableStreaming, isSortedAccordingToClusteredIndex, con, null, (options & SessionOptions.NUMERIC_ROUNDABORT_OFF) != SessionOptions.NUMERIC_ROUNDABORT_OFF, new StackTrace(1, true).ToString()).MapErr(_writeTxnErrToWriteErr); + } + [System.Diagnostics.CodeAnalysis.SuppressMessage("Security", "CA2100:Review SQL queries for security vulnerabilities", Justification = "Text is generated internally.")] + public Result<Unit, WriteErrorOrTransactionError> Write<TRowIter, TRow, TProd, TErr>(ref TRowIter iter, WriteOptions writeOptions, Maybe<NonZeroUshort> batchSize, Maybe<NonZeroUshort> timeout, bool enableStreaming, bool isSortedAccordingToClusteredIndex, SqlTransaction txn) where TErr: notnull, IBulkRowError where TProd: notnull, IBinSerializable, IProduct<T0> where TRow: notnull, ISum<TProd, TErr> where TRowIter: notnull, IFusedIterator<TRow> { + + if (txn.Connection.State != ConnectionState.Open) { + return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen, new StackTrace(1, true))); + } else if (!string.Equals(txn.Connection.DataSource, $"tcp:{Destination.Schema.Database.Server.IntoString()}", StringComparison.Ordinal)) { + return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch, new StackTrace(1, true))); + } else { + + if ((writeOptions & WriteOptions.AllowEncryptedValueModifications) == WriteOptions.AllowEncryptedValueModifications) { + + if (_containsEncryptedColumn) { + + if (!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled", StringComparison.Ordinal)) { + return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications, new StackTrace(1, true))); + } + } else { + return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot, new StackTrace(1, true))); + } + } else if (_mustBeAllowEncryptedValueModifications) { + return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications, new StackTrace(1, true))); + } else if (_containsEncryptedColumn && !txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled", StringComparison.Ordinal)) { + return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns, new StackTrace(1, true))); + } + + if ((writeOptions & WriteOptions.KeepIdentity) == WriteOptions.KeepIdentity && Destination.ContainsIDENTITYColumn()) { + bool numericRoundAbort; + + using (SqlCommand qry = new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON; +SELECT CASE (@@OPTIONS & 8192) + WHEN 8192 THEN CONVERT(bit, 1) + ELSE CONVERT(bit, 0) + END AS fblnNumericRoundabort;", txn.Connection, txn, SqlCommandColumnEncryptionSetting.Disabled) { CommandTimeout = timeout.MapOr(0, _nzUshortToInt), CommandType = CommandType.Text, EnableOptimizedParameterBinding = true }) { + numericRoundAbort = (bool)qry.ExecuteScalar(); + } + var tableCopy = Destination; + return WriteInternal<TRowIter, TRow, TProd, TErr>(ref iter, writeOptions, batchSize, timeout, enableStreaming, isSortedAccordingToClusteredIndex, txn.Connection, txn, numericRoundAbort, new StackTrace(1, true).ToString()).MapOrElse( + (err) => { + using SqlCommand qry = new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;", txn.Connection, txn, SqlCommandColumnEncryptionSetting.Disabled) { CommandTimeout = timeout.MapOr(0, _nzUshortToInt), CommandType = CommandType.Text, EnableOptimizedParameterBinding = true }; + _ = qry.ExecuteNonQuery(); + return new Result<Unit, WriteErrorOrTransactionError>(err); + }, + (x) => { + using SqlCommand qry = new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;", txn.Connection, txn, SqlCommandColumnEncryptionSetting.Disabled) { CommandTimeout = timeout.MapOr(0, _nzUshortToInt), CommandType = CommandType.Text, EnableOptimizedParameterBinding = true }; + var unused = qry.ExecuteNonQuery(); + return new(x); + } + ); + } else { + bool numericRoundAbort; + + using (SqlCommand qry = new($@"SELECT CASE (@@OPTIONS & 8192) +WHEN 8192 THEN CONVERT(bit, 1) +ELSE CONVERT(bit, 0) +END AS fblnNumericRoundabort;", txn.Connection, txn, SqlCommandColumnEncryptionSetting.Disabled) { CommandTimeout = timeout.MapOr(0, _nzUshortToInt), CommandType = CommandType.Text, EnableOptimizedParameterBinding = true }) { + numericRoundAbort = (bool)qry.ExecuteScalar(); + } + return WriteInternal<TRowIter, TRow, TProd, TErr>(ref iter, writeOptions, batchSize, timeout, enableStreaming, isSortedAccordingToClusteredIndex, txn.Connection, txn, numericRoundAbort, new StackTrace(1, true).ToString()); + } + } + } + // MUST ensure that txn is either null or uses con as its SqlConnection! + Result<Unit, WriteErrorOrTransactionError> WriteInternal<TRowIter, TRow, TProd, TErr>(ref TRowIter iter, WriteOptions writeOptions, Maybe<NonZeroUshort> batchSize, Maybe<NonZeroUshort> timeout, bool enableStreaming, bool isSortedAccordingToClusteredIndex, SqlConnection con, SqlTransaction? txn, bool numericRoundAbort, string stackTrace) where TErr: notnull, IBulkRowError where TProd: notnull, IBinSerializable, IProduct<T0> where TRow: notnull, ISum<TProd, TErr> where TRowIter: notnull, IFusedIterator<TRow> { + + if (_currentErrorCount > MaxErrorsAllowed.Item0 && CurrentErrorRatio > MaxErrorsAllowed.Item1) { return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded, new StackTrace(1, true))); } + using var blk = CreateBulkCopy(in Destination, writeOptions, batchSize, timeout, enableStreaming, isSortedAccordingToClusteredIndex, con, txn); + using IterDataReader<TRowIter, TRow, TProd, TErr, T0> rdr = new(ErrTable, Destination, MaxErrorsAllowed, _currentProcessedCount, _currentErrorCount, iter, _processName, _userName, numericRoundAbort, stackTrace); + blk.WriteToServer(rdr); + _currentProcessedCount = rdr.CurrentProcessedCount; + return (_currentErrorCount = rdr.CurrentErrorCount) > MaxErrorsAllowed.Item0 && CurrentErrorRatio > MaxErrorsAllowed.Item1 ? new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded, new StackTrace(1, true))) : new(new Unit()); + } + #endregion + + #region Operators + #endregion + + #region Types + #endregion + } + #endregion + + #region Namespaces + #endregion +} +#endregion diff --git a/BulkWriters.cs b/BulkWriters.cs @@ -0,0 +1,144 @@ +// This code was generated via a CLI app that used the source code in BulkWriterBaseCase.cs as a template. +// To improve compilation performance, the code uses very little 'whitespace' beyond what is necessary and contains no documentation, warning suppressions, or comments. +using Microsoft.Data.SqlClient; +using Serde.Bin.Ser; +using Std; +using Std.Iter; +using Std.Maybe; +using Std.Num; +using Std.Result; +using System; +using System.Data; +using System.Diagnostics; +using static SQLServer.Helpers; +using System.Runtime.InteropServices; +#pragma warning disable CA1005, CA1045, CA1051, CA1062, CA1066, CA1815, CA2100, CA2231, IDE0032 +namespace SQLServer { +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),112=>new(typeof(T112)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),112=>new(typeof(T112)),113=>new(typeof(T113)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),112=>new(typeof(T112)),113=>new(typeof(T113)),114=>new(typeof(T114)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),112=>new(typeof(T112)),113=>new(typeof(T113)),114=>new(typeof(T114)),115=>new(typeof(T115)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),112=>new(typeof(T112)),113=>new(typeof(T113)),114=>new(typeof(T114)),115=>new(typeof(T115)),116=>new(typeof(T116)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),112=>new(typeof(T112)),113=>new(typeof(T113)),114=>new(typeof(T114)),115=>new(typeof(T115)),116=>new(typeof(T116)),117=>new(typeof(T117)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),112=>new(typeof(T112)),113=>new(typeof(T113)),114=>new(typeof(T114)),115=>new(typeof(T115)),116=>new(typeof(T116)),117=>new(typeof(T117)),118=>new(typeof(T118)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),112=>new(typeof(T112)),113=>new(typeof(T113)),114=>new(typeof(T114)),115=>new(typeof(T115)),116=>new(typeof(T116)),117=>new(typeof(T117)),118=>new(typeof(T118)),119=>new(typeof(T119)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where T120:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),112=>new(typeof(T112)),113=>new(typeof(T113)),114=>new(typeof(T114)),115=>new(typeof(T115)),116=>new(typeof(T116)),117=>new(typeof(T117)),118=>new(typeof(T118)),119=>new(typeof(T119)),120=>new(typeof(T120)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where T120:struct,IDataType where T121:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),112=>new(typeof(T112)),113=>new(typeof(T113)),114=>new(typeof(T114)),115=>new(typeof(T115)),116=>new(typeof(T116)),117=>new(typeof(T117)),118=>new(typeof(T118)),119=>new(typeof(T119)),120=>new(typeof(T120)),121=>new(typeof(T121)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where T120:struct,IDataType where T121:struct,IDataType where T122:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),112=>new(typeof(T112)),113=>new(typeof(T113)),114=>new(typeof(T114)),115=>new(typeof(T115)),116=>new(typeof(T116)),117=>new(typeof(T117)),118=>new(typeof(T118)),119=>new(typeof(T119)),120=>new(typeof(T120)),121=>new(typeof(T121)),122=>new(typeof(T122)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where T120:struct,IDataType where T121:struct,IDataType where T122:struct,IDataType where T123:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),112=>new(typeof(T112)),113=>new(typeof(T113)),114=>new(typeof(T114)),115=>new(typeof(T115)),116=>new(typeof(T116)),117=>new(typeof(T117)),118=>new(typeof(T118)),119=>new(typeof(T119)),120=>new(typeof(T120)),121=>new(typeof(T121)),122=>new(typeof(T122)),123=>new(typeof(T123)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where T120:struct,IDataType where T121:struct,IDataType where T122:struct,IDataType where T123:struct,IDataType where T124:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),112=>new(typeof(T112)),113=>new(typeof(T113)),114=>new(typeof(T114)),115=>new(typeof(T115)),116=>new(typeof(T116)),117=>new(typeof(T117)),118=>new(typeof(T118)),119=>new(typeof(T119)),120=>new(typeof(T120)),121=>new(typeof(T121)),122=>new(typeof(T122)),123=>new(typeof(T123)),124=>new(typeof(T124)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where T120:struct,IDataType where T121:struct,IDataType where T122:struct,IDataType where T123:struct,IDataType where T124:struct,IDataType where T125:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),112=>new(typeof(T112)),113=>new(typeof(T113)),114=>new(typeof(T114)),115=>new(typeof(T115)),116=>new(typeof(T116)),117=>new(typeof(T117)),118=>new(typeof(T118)),119=>new(typeof(T119)),120=>new(typeof(T120)),121=>new(typeof(T121)),122=>new(typeof(T122)),123=>new(typeof(T123)),124=>new(typeof(T124)),125=>new(typeof(T125)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where T120:struct,IDataType where T121:struct,IDataType where T122:struct,IDataType where T123:struct,IDataType where T124:struct,IDataType where T125:struct,IDataType where T126:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),112=>new(typeof(T112)),113=>new(typeof(T113)),114=>new(typeof(T114)),115=>new(typeof(T115)),116=>new(typeof(T116)),117=>new(typeof(T117)),118=>new(typeof(T118)),119=>new(typeof(T119)),120=>new(typeof(T120)),121=>new(typeof(T121)),122=>new(typeof(T122)),123=>new(typeof(T123)),124=>new(typeof(T124)),125=>new(typeof(T125)),126=>new(typeof(T126)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Unicode,Pack= 0)]public struct BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126,T127>:IBulkWriter where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where T120:struct,IDataType where T121:struct,IDataType where T122:struct,IDataType where T123:struct,IDataType where T124:struct,IDataType where T125:struct,IDataType where T126:struct,IDataType where T127:struct,IDataType{public BulkWriter()=>throw new InvalidOperationException("Parameterless constructor is not allowed to be called!");BulkWriter(UserTable table,Maybe<ErrorTable>errTable,Prod<ulong,double>maxErrorsAllowed,string processName,string userName,bool encrypted,bool encryptedMod)=>(Destination,ErrTable,MaxErrorsAllowed,_currentErrorCount,_currentProcessedCount,_processName,_userName,_containsEncryptedColumn,_mustBeAllowEncryptedValueModifications)=(table,errTable,maxErrorsAllowed,ulong.MinValue,ulong.MinValue,processName,userName,encrypted,encryptedMod);public readonly Maybe<ErrorTable>ErrTable;public readonly UserTable Destination;public readonly Prod<ulong,double>MaxErrorsAllowed;ulong _currentErrorCount;ulong _currentProcessedCount;readonly string _processName;readonly string _userName;readonly bool _containsEncryptedColumn;readonly bool _mustBeAllowEncryptedValueModifications;readonly Maybe<ErrorTable>IBulkWriter.ErrTable=>ErrTable;readonly UserTable IBulkWriter.Destination=>Destination;readonly Prod<ulong,double>IBulkWriter.MaxErrorsAllowed=>MaxErrorsAllowed;public readonly ulong CurrentSuccessfullyProcessedCount=>_currentProcessedCount-_currentErrorCount;public readonly ulong CurrentErrorCount=>_currentErrorCount;public readonly ulong CurrentProcessedCount=>_currentProcessedCount;public readonly double CurrentErrorRatio=>(double)_currentErrorCount/_currentProcessedCount;public readonly bool IsInError=>_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1;public static Result<BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126,T127>,BulkWriterCreateError>New(in UserTable table,Prod<ulong,double>maxErrorsAllowed,in Maybe<ErrorTable>errTable,string processName,string userName){if(table.Schema.Database.IsReadOnly){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.DatabaseIsReadOnly,new StackTrace(1,true)));}else if(double.IsNaN(maxErrorsAllowed.Item1)||double.IsNegative(maxErrorsAllowed.Item1)||maxErrorsAllowed.Item1>1.0d){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.InvalidErrorRatio,new StackTrace(1,true)));}else if(processName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.ProcessNameLengthExceeds128,new StackTrace(1,true)));}else if(userName.Length>128){return new(new BulkWriterCreateError(BulkWriterCreateError.Tag.UserNameLengthExceeds128,new StackTrace(1,true)));}else{var counter=ushort.MinValue;var match=TypeMatch(Std.Iter.Functions.FromFn(()=>counter++switch{0=>new(typeof(T0)),1=>new(typeof(T1)),2=>new(typeof(T2)),3=>new(typeof(T3)),4=>new(typeof(T4)),5=>new(typeof(T5)),6=>new(typeof(T6)),7=>new(typeof(T7)),8=>new(typeof(T8)),9=>new(typeof(T9)),10=>new(typeof(T10)),11=>new(typeof(T11)),12=>new(typeof(T12)),13=>new(typeof(T13)),14=>new(typeof(T14)),15=>new(typeof(T15)),16=>new(typeof(T16)),17=>new(typeof(T17)),18=>new(typeof(T18)),19=>new(typeof(T19)),20=>new(typeof(T20)),21=>new(typeof(T21)),22=>new(typeof(T22)),23=>new(typeof(T23)),24=>new(typeof(T24)),25=>new(typeof(T25)),26=>new(typeof(T26)),27=>new(typeof(T27)),28=>new(typeof(T28)),29=>new(typeof(T29)),30=>new(typeof(T30)),31=>new(typeof(T31)),32=>new(typeof(T32)),33=>new(typeof(T33)),34=>new(typeof(T34)),35=>new(typeof(T35)),36=>new(typeof(T36)),37=>new(typeof(T37)),38=>new(typeof(T38)),39=>new(typeof(T39)),40=>new(typeof(T40)),41=>new(typeof(T41)),42=>new(typeof(T42)),43=>new(typeof(T43)),44=>new(typeof(T44)),45=>new(typeof(T45)),46=>new(typeof(T46)),47=>new(typeof(T47)),48=>new(typeof(T48)),49=>new(typeof(T49)),50=>new(typeof(T50)),51=>new(typeof(T51)),52=>new(typeof(T52)),53=>new(typeof(T53)),54=>new(typeof(T54)),55=>new(typeof(T55)),56=>new(typeof(T56)),57=>new(typeof(T57)),58=>new(typeof(T58)),59=>new(typeof(T59)),60=>new(typeof(T60)),61=>new(typeof(T61)),62=>new(typeof(T62)),63=>new(typeof(T63)),64=>new(typeof(T64)),65=>new(typeof(T65)),66=>new(typeof(T66)),67=>new(typeof(T67)),68=>new(typeof(T68)),69=>new(typeof(T69)),70=>new(typeof(T70)),71=>new(typeof(T71)),72=>new(typeof(T72)),73=>new(typeof(T73)),74=>new(typeof(T74)),75=>new(typeof(T75)),76=>new(typeof(T76)),77=>new(typeof(T77)),78=>new(typeof(T78)),79=>new(typeof(T79)),80=>new(typeof(T80)),81=>new(typeof(T81)),82=>new(typeof(T82)),83=>new(typeof(T83)),84=>new(typeof(T84)),85=>new(typeof(T85)),86=>new(typeof(T86)),87=>new(typeof(T87)),88=>new(typeof(T88)),89=>new(typeof(T89)),90=>new(typeof(T90)),91=>new(typeof(T91)),92=>new(typeof(T92)),93=>new(typeof(T93)),94=>new(typeof(T94)),95=>new(typeof(T95)),96=>new(typeof(T96)),97=>new(typeof(T97)),98=>new(typeof(T98)),99=>new(typeof(T99)),100=>new(typeof(T100)),101=>new(typeof(T101)),102=>new(typeof(T102)),103=>new(typeof(T103)),104=>new(typeof(T104)),105=>new(typeof(T105)),106=>new(typeof(T106)),107=>new(typeof(T107)),108=>new(typeof(T108)),109=>new(typeof(T109)),110=>new(typeof(T110)),111=>new(typeof(T111)),112=>new(typeof(T112)),113=>new(typeof(T113)),114=>new(typeof(T114)),115=>new(typeof(T115)),116=>new(typeof(T116)),117=>new(typeof(T117)),118=>new(typeof(T118)),119=>new(typeof(T119)),120=>new(typeof(T120)),121=>new(typeof(T121)),122=>new(typeof(T122)),123=>new(typeof(T123)),124=>new(typeof(T124)),125=>new(typeof(T125)),126=>new(typeof(T126)),127=>new(typeof(T127)),_=>Maybe<Type>.None()}),in table);return match.IsSome?match.Unwrap()?new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126,T127>(table,errTable,maxErrorsAllowed,processName,userName,table.ContainsEncryptedColumn(),false)):new(new BulkWriterCreateError(BulkWriterCreateError.Tag.TypeMismatch,new StackTrace(1,true))):new(new BulkWriter<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126,T127>(table,errTable,maxErrorsAllowed,processName,userName,true,true));}}public override readonly bool Equals(object?_)=>false;public override readonly int GetHashCode()=>0;readonly void IBulkWriter.Sealed(){}public override readonly string ToString()=>string.Empty;public Result<Unit,WriteError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SessionOptions options)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126,T127>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{var allowEncryptMod=false;if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){allowEncryptMod=true;}else{return new(new WriteError(WriteError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteError(WriteError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}using var con=Functions.CreateOpenedConnection(in Destination.Schema.Database,options,!allowEncryptMod&&_containsEncryptedColumn,Maybe<Uri>.None());if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){using var txn=con.BeginTransaction(IsolationLevel.Serializable);using (SqlCommand qry=new($"SET IDENTITY_INSERT [{Destination.Schema.Name.Value}].[{Destination.Name}] ON;",con,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=60,CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){_=qry.ExecuteNonQuery();}txn.Commit();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,null,(options&SessionOptions.NUMERIC_ROUNDABORT_OFF)!=SessionOptions.NUMERIC_ROUNDABORT_OFF,new StackTrace(1,true).ToString()).MapErr(_writeTxnErrToWriteErr);}public Result<Unit,WriteErrorOrTransactionError>Write<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlTransaction txn)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126,T127>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(txn.Connection.State!=ConnectionState.Open){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionIsNotOpen,new StackTrace(1,true)));}else if(!string.Equals(txn.Connection.DataSource,$"tcp:{Destination.Schema.Database.Server.IntoString()}",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionServerMismatch,new StackTrace(1,true)));}else{if((writeOptions&WriteOptions.AllowEncryptedValueModifications)==WriteOptions.AllowEncryptedValueModifications){if(_containsEncryptedColumn){if(!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.SqlConnectionViolatesAllowEncryptedValueModifications,new StackTrace(1,true)));}}else{return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableExpectedToContainEncryptedDataButDoesNot,new StackTrace(1,true)));}}else if(_mustBeAllowEncryptedValueModifications){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.TableColumnMismatchOrWriteOptionsMustContainAllowEncryptedValueModifications,new StackTrace(1,true)));}else if(_containsEncryptedColumn&&!txn.Connection.ConnectionString.Contains("Column Encryption Setting=enabled",StringComparison.Ordinal)){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.ContainsEncryptedColumnsButConnectionDoesNotHandleEncryptedColumns,new StackTrace(1,true)));}if((writeOptions&WriteOptions.KeepIdentity)==WriteOptions.KeepIdentity&&Destination.ContainsIDENTITYColumn()){bool numericRoundAbort;using (SqlCommand qry=new($@"SET IDENTITY_INSERT [{Destination.Schema.Database.Name.Value}].[{Destination.Schema.Name.Value}].[{Destination.Name}] ON;SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}var tableCopy=Destination;return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString()).MapOrElse((err)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};_=qry.ExecuteNonQuery();return new Result<Unit,WriteErrorOrTransactionError>(err);},(x)=>{using SqlCommand qry=new($"SET IDENTITY_INSERT [{tableCopy.Schema.Database.Name.Value}].[{tableCopy.Schema.Name.Value}].[{tableCopy.Name}] OFF;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true};var unused=qry.ExecuteNonQuery();return new(x);});}else{bool numericRoundAbort;using (SqlCommand qry=new($@"SELECT CASE (@@OPTIONS & 8192) WHEN 8192 THEN CONVERT(bit,1) ELSE CONVERT(bit,0) END AS fblnNumericRoundabort;",txn.Connection,txn,SqlCommandColumnEncryptionSetting.Disabled){CommandTimeout=timeout.MapOr(0,_nzUshortToInt),CommandType=CommandType.Text,EnableOptimizedParameterBinding=true}){numericRoundAbort=(bool)qry.ExecuteScalar();}return WriteInternal<TRowIter,TRow,TProd,TErr>(ref iter,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,txn.Connection,txn,numericRoundAbort,new StackTrace(1,true).ToString());}}}Result<Unit,WriteErrorOrTransactionError>WriteInternal<TRowIter,TRow,TProd,TErr>(ref TRowIter iter,WriteOptions writeOptions,Maybe<NonZeroUshort>batchSize,Maybe<NonZeroUshort>timeout,bool enableStreaming,bool isSortedAccordingToClusteredIndex,SqlConnection con,SqlTransaction?txn,bool numericRoundAbort,string stackTrace)where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126,T127>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{if(_currentErrorCount>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1){return new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true)));}using var blk=CreateBulkCopy(in Destination,writeOptions,batchSize,timeout,enableStreaming,isSortedAccordingToClusteredIndex,con,txn);using IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126,T127>rdr=new(ErrTable,Destination,MaxErrorsAllowed,_currentProcessedCount,_currentErrorCount,iter,_processName,_userName,numericRoundAbort,stackTrace);blk.WriteToServer(rdr);_currentProcessedCount=rdr.CurrentProcessedCount;return (_currentErrorCount=rdr.CurrentErrorCount)>MaxErrorsAllowed.Item0&&CurrentErrorRatio>MaxErrorsAllowed.Item1?new(new WriteErrorOrTransactionError(WriteErrorOrTransactionError.Tag.MaxErrorsExceeded,new StackTrace(1,true))):new(new Unit());}} +} +\ No newline at end of file diff --git a/BulkWriters128.csproj b/BulkWriters128.csproj @@ -0,0 +1,77 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <AllowUnsafeBlocks>false</AllowUnsafeBlocks> + <AnalysisLevel>latest</AnalysisLevel> + <AnalysisMode>All</AnalysisMode> + <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath> + <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> + <AssemblyName>BulkWriters128</AssemblyName> + <AssemblyTitle>BulkWriters128</AssemblyTitle> + <AssemblyVersion>1.0.0.0</AssemblyVersion> + <Authors>Zack Newman</Authors> + <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> + <CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors> + <Company>Philomathic Life</Company> + <Configuration>Release</Configuration> + <Copyright>2023</Copyright> + <DebugSymbols>false</DebugSymbols> + <DebugType>none</DebugType> + <DefineConstants></DefineConstants> + <Description>First 128 bulk writers.</Description> + <Deterministic>true</Deterministic> + <DocumentationFile></DocumentationFile> + <EnableComHosting>false</EnableComHosting> + <EnableDynamicLoading>false</EnableDynamicLoading> + <EnableNETAnalyzers>true</EnableNETAnalyzers> + <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> + <ErrorReport>prompt</ErrorReport> + <FileAlignment>512</FileAlignment> + <FileVersion>1.0.0.0</FileVersion> + <HighEntropyVA>true</HighEntropyVA> + <InformationalVersion>1.0.0.0</InformationalVersion> + <IsTrimmable>true</IsTrimmable> + <LangVersion>latest</LangVersion> + <NeutralLanguage>en-US</NeutralLanguage> + <NoWarn></NoWarn> + <Nullable>enable</Nullable> + <Optimize>true</Optimize> + <OutputPath>bin/Release</OutputPath> + <OutputType>Library</OutputType> + <Platform>x64</Platform> + <Product>BulkWriters128</Product> + <PublishTrimmed>true</PublishTrimmed> + <RuntimeIdentifier>linux-x64</RuntimeIdentifier> + <TargetFramework>net7.0</TargetFramework> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <TrimMode>link</TrimMode> + <TrimmerDefaultAction>link</TrimmerDefaultAction> + <Utf8Output>true</Utf8Output> + <WarningsAsErrors>true</WarningsAsErrors> + </PropertyGroup> + + <ItemGroup> + <Reference Include="Std"> + <Name>Std</Name> + <HintPath>../Std/bin/Release/Std.dll</HintPath> + <Private>false</Private> + </Reference> + <Reference Include="FNVHash"> + <Name>SQLServer</Name> + <HintPath>../FNVHash/bin/Release/FNVHash.dll</HintPath> + <Private>false</Private> + </Reference> + <Reference Include="Serde"> + <Name>Serde</Name> + <HintPath>../Serde/bin/Release/Serde.dll</HintPath> + <Private>false</Private> + </Reference> + <Reference Include="SQLServer"> + <Name>SQLServer</Name> + <HintPath>../SQLServer/bin/Release/SQLServer.dll</HintPath> + <Private>false</Private> + </Reference> + <PackageReference Include="Microsoft.Data.SqlClient" Version="5.1.0" /> + </ItemGroup> + +</Project> diff --git a/IterDataReaderBaseCase.cs b/IterDataReaderBaseCase.cs @@ -0,0 +1,241 @@ +using Serde.Bin.Ser; +using static SQLServer.Helpers; +using Std; +using Std.Iter; +using Std.Maybe; +using Std.Vec; +using System; +using System.Data; +using System.Data.SqlTypes; +#region Namespaces +namespace SQLServer { + #region Types + sealed class IterDataReader<TRowIter, TRow, TProd, TErr, T0>: IDataReader where T0: struct, IDataType where TErr: notnull, IBulkRowError where TProd: notnull, IBinSerializable, IProduct<T0> where TRow: notnull, ISum<TProd, TErr> where TRowIter: notnull, IFusedIterator<TRow> { + + #region Type-level Constructors + #endregion + + #region Instance Constructors + // MUST ensure that processName is no more than 128 chars in length before calling! + internal IterDataReader(Maybe<ErrorTable> error, UserTable table, Prod<ulong, double> maxErrorsAllowed, ulong currentProcessed, ulong currentError, TRowIter iter, string processName, string userName, bool numericRoundAbort, string truncationStackTrace) => (_error, _table, _errTableExists, _maxErrorsAllowed, CurrentProcessedCount, CurrentErrorCount, _iter, _errs, _isClosed, _numericRoundAbort, _current, _processName, _userName, _truncationStackTrace, _ser) = (error.IsSome ? error.Unwrap() : default, table, error.IsSome, maxErrorsAllowed, currentProcessed, currentError, iter, new Vec<Prod<nvarchar, nvarchar, varbinary>>(), false, numericRoundAbort, default!, processName, userName, new(truncationStackTrace), Serializer.New()); + #endregion + + #region Type-level Fields + #endregion + + #region Instance Fields + readonly ErrorTable _error; + readonly UserTable _table; + TProd _current; + Serializer _ser; + readonly Prod<ulong, double> _maxErrorsAllowed; + Vec<Prod<nvarchar, nvarchar, varbinary>> _errs; + TRowIter _iter; + readonly nvarchar _truncationStackTrace; + readonly string _processName; + readonly string _userName; + internal ulong CurrentErrorCount; + internal ulong CurrentProcessedCount; + readonly bool _errTableExists; + readonly bool _numericRoundAbort; + [System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE0032:Use auto property", Justification = "Want to order the fields in a particular way while still following my convention of properties being separated from fields.")] + bool _isClosed; + #endregion + + #region Type-level Properties + #endregion + + #region Instance Properties + public bool IsClosed => _isClosed; + double CurrentErrorRatio => (double)CurrentErrorCount / CurrentProcessedCount; + public int Depth => 0; + public int FieldCount => _table.ColumnCount; + public object this[int ordinal] => GetValue(ordinal); + public object this[string columnName] => GetValue(GetOrdinal(columnName)); + public int RecordsAffected => -1; + #endregion + + #region Type-level Functions + #endregion + + #region Instance Functions + public void Close() => Dispose(); + public void Dispose() { + + if (_isClosed) { return; } + (_isClosed, _current, _iter, _ser) = (true, default!, default!, default); + if (_errTableExists) { _ = WriteErrors(in _error, ref _errs, _processName, _userName, ushort.MinValue); } + _errs = new Vec<Prod<nvarchar, nvarchar, varbinary>>(); + } + public sealed override bool Equals(object? _) => false; + public bool GetBoolean(int ordinal) => (bool)GetValue(ordinal); + public byte GetByte(int ordinal) => (byte)GetValue(ordinal); + public long GetBytes(int ordinal, long dataOffset, byte[]? buffer, int bufferOffset, int length) { + + var val = GetValue(ordinal); + var bytes = (byte[])val; + var offset = (int)dataOffset; + var len = bytes.Length - offset; + if (len <= 0) { return 0L; } + var count = Math.Min(len, length); + var i = 0; + while (i < count) { buffer![bufferOffset + i] = bytes[offset + i++]; } + return count; + } + public char GetChar(int ordinal) { + + var val = (string)GetValue(ordinal); + return val.Length == 1 ? val[0] : throw new InvalidCastException(); + } + public long GetChars(int ordinal, long dataOffset, char[]? buffer, int bufferOffset, int length) { + + var val = GetValue(ordinal); + var chars = (string)val; + var offset = (int)dataOffset; + var len = chars.Length - offset; + if (len <= 0) { return 0L; } + var count = Math.Min(len, length); + var i = 0; + while (i < count) { buffer![bufferOffset + i] = chars[offset + i++]; } + return count; + } + public IDataReader GetData(int _) => throw new NotSupportedException(); + public string GetDataTypeName(int ordinal) => GetFieldType(ordinal).Name; + public DateTime GetDateTime(int ordinal) { var type = GetFieldType(ordinal); return type == typeof(DateTime) ? (DateTime)GetValue(ordinal) : ((SqlDateTime)GetValue(ordinal)).Value; } + public decimal GetDecimal(int ordinal) { var type = GetFieldType(ordinal); return type == typeof(SqlDecimal) ? ((SqlDecimal)GetValue(ordinal)).Value : ((SqlMoney)GetValue(ordinal)).Value; } + public double GetDouble(int ordinal) => (double)GetValue(ordinal); + public Type GetFieldType(int ordinal) => _typeMap[_table[(ushort)ordinal].DataType]; + public float GetFloat(int ordinal) => (float)GetValue(ordinal); + public Guid GetGuid(int ordinal) => (Guid)GetValue(ordinal); + public sealed override int GetHashCode() => 0; + public short GetInt16(int ordinal) => (short)GetValue(ordinal); + public int GetInt32(int ordinal) => (int)GetValue(ordinal); + public long GetInt64(int ordinal) => (long)GetValue(ordinal); + public string GetName(int ordinal) => _table[(ushort)ordinal].Name; + public int GetOrdinal(string name) { + + for (ushort i = 0; i < _table.ColumnCount; i++) { if (_table.Schema.Name.Culture.CompareInfo.Compare(name, _table[i].Name, _table.Schema.Name.Options) == 0) { return i; } } + throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}."); + } + public DataTable GetSchemaTable() { + + DataTable schema = new() { MinimumCapacity = _table.ColumnCount, TableName = $"{_table.Schema.Name.Value}.{_table.Name}", Locale = _table.Schema.Name.Culture }; + _ = schema.Columns.Add("Ordinal", typeof(ushort)); + _ = schema.Columns.Add("ColumnName", typeof(string)); + _ = schema.Columns.Add("DataType", typeof(Type)); + + for (ushort i = 0; i < _table.ColumnCount; i++) { + ref readonly var col = ref _table[i]; + _ = schema.Rows.Add(i, col.Name, GetFieldType(i)); + } + return schema; + } + public string GetString(int ordinal) => (string)GetValue(ordinal); + public object GetValue(int ordinal) => ordinal switch { 0 => _current.Field0.Val, _ => throw new ArgumentOutOfRangeException($"{ordinal.ToString()} is not 0."), }; + public int GetValues(object[] values) { + + var count = Math.Min(values.Length, _table.ColumnCount); + for (var i = 0; i < count; i++) { values[i] = GetValue(i); } + return count; + } + public bool IsDBNull(int ordinal) => ordinal switch { 0 => _current.Field0.IsNULL, _ => throw new ArgumentOutOfRangeException($"{ordinal.ToString()} is not 0."), }; + public bool NextResult() { + + if (_errTableExists) { _ = WriteErrors(in _error, ref _errs, _processName, _userName, ushort.MinValue); } + (_errs, _current, _iter, _ser) = (new Vec<Prod<nvarchar, nvarchar, varbinary>>(), default!, default!, default); + return false; + } + public bool Read() { + // It would be a lot cleaner to make this function recursive, but that can easily cause a stack overflow. + while (true) { + // Error threshold has been exceeded, so we cease processing. + if (CurrentErrorCount > _maxErrorsAllowed.Item0 && CurrentErrorRatio > _maxErrorsAllowed.Item1) { + if (_errTableExists) { _ = WriteErrors(in _error, ref _errs, _processName, _userName, ushort.MinValue); } + (_errs, _current, _iter, _ser) = (new Vec<Prod<nvarchar, nvarchar, varbinary>>(), default!, default!, default); + return false; + } + var cur = _iter!.Next(); + // The iterator has no more rows. + if (cur.IsNone) { + if (_errTableExists) { _ = WriteErrors(in _error, ref _errs, _processName, _userName, ushort.MinValue); } + (_errs, _current, _iter, _ser) = (new Vec<Prod<nvarchar, nvarchar, varbinary>>(), default!, default!, default); + return false; + } + CurrentProcessedCount++; + var res = cur.Unwrap(); + // The iterator has returned an error, so we log it and continue processing. + if (res.Variant == Var2.V1) { + CurrentErrorCount++; + if (_errTableExists) { var err = res.Variant1; _ = _errs.Push(new(err.Trace, err.Message, err.Data)); _ = WriteErrors(in _error, ref _errs, _processName, _userName, 4095); } + continue; + } + _current = res.Variant0; + // We perform truncation/overflow checks on the valid row and log an error if one would occur and continue processing. + // If all columns are good to go, then we return true. + // We do not want to check if _error is Some for each column for both truncation and NULL in non-NULL checks; + // so we instead do the check once, and call the appropriate function. + if (_errTableExists ? TruncateOverflowCheckAndLog() : TruncateOverflowCheck()) { + continue; + } else { + return true; + } + } + } + public sealed override string ToString() => string.Empty; + bool TruncateOverflowCheck() { + + if (_current.Field0.IsNULL) { + + if (!_table[ushort.MinValue].IsNullable) { + CurrentErrorCount++; + return true; + } else { + return false; + } + } else if (_current.Field0.TruncationWillOccur(_table[ushort.MinValue], _numericRoundAbort)) { + CurrentErrorCount++; + return true; + } else { + return false; + } + } + // MUST ensure _error is Some before calling! + bool TruncateOverflowCheckAndLog() { + + if (_current.Field0.IsNULL) { + + if (!_table[ushort.MinValue].IsNullable) { + CurrentErrorCount++; + _ = _current.Ser(ref _ser); + _ = _errs.Push(new(_truncationStackTrace, new($"NULLs are not allowed in {_table.IntoString()}.{_table[ushort.MinValue].Name}."), varbinary.New(_ser.SerializedData))); + _ = WriteErrors(in _error, ref _errs, _processName, _userName, 4095); + _ = _ser.Reset(); + return true; + } else { + return false; + } + } else if (_current.Field0.TruncationWillOccur(_table[ushort.MinValue], _numericRoundAbort)) { + CurrentErrorCount++; + _ = _current.Ser(ref _ser); + _ = _errs.Push(new(_truncationStackTrace, new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[ushort.MinValue].Name}."), varbinary.New(_ser.SerializedData))); + _ = WriteErrors(in _error, ref _errs, _processName, _userName, 4095); + _ = _ser.Reset(); + return true; + } else { + return false; + } + } + #endregion + + #region Operators + #endregion + + #region Types + #endregion + } + #endregion + + #region Namespaces + #endregion +} +#endregion diff --git a/IterDataReaders.cs b/IterDataReaders.cs @@ -0,0 +1,141 @@ +// This code was generated via a CLI app that used the source code in IterDataReaderBaseCase.cs as a template. +// To improve compilation performance, the code uses very little 'whitespace' beyond what is necessary and contains no documentation, warning suppressions, or comments. +using Serde.Bin.Ser; +using static SQLServer.Helpers; +using Std; +using Std.Iter; +using Std.Maybe; +using Std.Vec; +using System; +using System.Data; +using System.Data.SqlTypes; +#pragma warning disable CA1502, CA1505, CS8618 +namespace SQLServer { +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,112=>_current.Field112.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,112=>_current.Field112.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field112.Into()} would truncate or overflow in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,112=>_current.Field112.Val,113=>_current.Field113.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,112=>_current.Field112.IsNULL,113=>_current.Field113.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field112.Into()} would truncate or overflow in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field113.Into()} would truncate or overflow in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,112=>_current.Field112.Val,113=>_current.Field113.Val,114=>_current.Field114.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,112=>_current.Field112.IsNULL,113=>_current.Field113.IsNULL,114=>_current.Field114.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field112.Into()} would truncate or overflow in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field113.Into()} would truncate or overflow in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field114.Into()} would truncate or overflow in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,112=>_current.Field112.Val,113=>_current.Field113.Val,114=>_current.Field114.Val,115=>_current.Field115.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,112=>_current.Field112.IsNULL,113=>_current.Field113.IsNULL,114=>_current.Field114.IsNULL,115=>_current.Field115.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field112.Into()} would truncate or overflow in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field113.Into()} would truncate or overflow in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field114.Into()} would truncate or overflow in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field115.Into()} would truncate or overflow in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,112=>_current.Field112.Val,113=>_current.Field113.Val,114=>_current.Field114.Val,115=>_current.Field115.Val,116=>_current.Field116.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,112=>_current.Field112.IsNULL,113=>_current.Field113.IsNULL,114=>_current.Field114.IsNULL,115=>_current.Field115.IsNULL,116=>_current.Field116.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field112.Into()} would truncate or overflow in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field113.Into()} would truncate or overflow in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field114.Into()} would truncate or overflow in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field115.Into()} would truncate or overflow in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field116.Into()} would truncate or overflow in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,112=>_current.Field112.Val,113=>_current.Field113.Val,114=>_current.Field114.Val,115=>_current.Field115.Val,116=>_current.Field116.Val,117=>_current.Field117.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,112=>_current.Field112.IsNULL,113=>_current.Field113.IsNULL,114=>_current.Field114.IsNULL,115=>_current.Field115.IsNULL,116=>_current.Field116.IsNULL,117=>_current.Field117.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field112.Into()} would truncate or overflow in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field113.Into()} would truncate or overflow in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field114.Into()} would truncate or overflow in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field115.Into()} would truncate or overflow in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field116.Into()} would truncate or overflow in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field117.Into()} would truncate or overflow in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,112=>_current.Field112.Val,113=>_current.Field113.Val,114=>_current.Field114.Val,115=>_current.Field115.Val,116=>_current.Field116.Val,117=>_current.Field117.Val,118=>_current.Field118.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,112=>_current.Field112.IsNULL,113=>_current.Field113.IsNULL,114=>_current.Field114.IsNULL,115=>_current.Field115.IsNULL,116=>_current.Field116.IsNULL,117=>_current.Field117.IsNULL,118=>_current.Field118.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field112.Into()} would truncate or overflow in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field113.Into()} would truncate or overflow in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field114.Into()} would truncate or overflow in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field115.Into()} would truncate or overflow in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field116.Into()} would truncate or overflow in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field117.Into()} would truncate or overflow in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field118.Into()} would truncate or overflow in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,112=>_current.Field112.Val,113=>_current.Field113.Val,114=>_current.Field114.Val,115=>_current.Field115.Val,116=>_current.Field116.Val,117=>_current.Field117.Val,118=>_current.Field118.Val,119=>_current.Field119.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,112=>_current.Field112.IsNULL,113=>_current.Field113.IsNULL,114=>_current.Field114.IsNULL,115=>_current.Field115.IsNULL,116=>_current.Field116.IsNULL,117=>_current.Field117.IsNULL,118=>_current.Field118.IsNULL,119=>_current.Field119.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field112.Into()} would truncate or overflow in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field113.Into()} would truncate or overflow in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field114.Into()} would truncate or overflow in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field115.Into()} would truncate or overflow in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field116.Into()} would truncate or overflow in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field117.Into()} would truncate or overflow in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field118.Into()} would truncate or overflow in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field119.Into()} would truncate or overflow in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where T120:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,112=>_current.Field112.Val,113=>_current.Field113.Val,114=>_current.Field114.Val,115=>_current.Field115.Val,116=>_current.Field116.Val,117=>_current.Field117.Val,118=>_current.Field118.Val,119=>_current.Field119.Val,120=>_current.Field120.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,112=>_current.Field112.IsNULL,113=>_current.Field113.IsNULL,114=>_current.Field114.IsNULL,115=>_current.Field115.IsNULL,116=>_current.Field116.IsNULL,117=>_current.Field117.IsNULL,118=>_current.Field118.IsNULL,119=>_current.Field119.IsNULL,120=>_current.Field120.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field120.IsNULL){if(!_table[120].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field120.TruncationWillOccur(_table[120],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field112.Into()} would truncate or overflow in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field113.Into()} would truncate or overflow in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field114.Into()} would truncate or overflow in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field115.Into()} would truncate or overflow in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field116.Into()} would truncate or overflow in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field117.Into()} would truncate or overflow in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field118.Into()} would truncate or overflow in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field119.Into()} would truncate or overflow in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field120.IsNULL){if(!_table[120].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[120].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field120.TruncationWillOccur(_table[120],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field120.Into()} would truncate or overflow in {_table.IntoString()}.{_table[120].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where T120:struct,IDataType where T121:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,112=>_current.Field112.Val,113=>_current.Field113.Val,114=>_current.Field114.Val,115=>_current.Field115.Val,116=>_current.Field116.Val,117=>_current.Field117.Val,118=>_current.Field118.Val,119=>_current.Field119.Val,120=>_current.Field120.Val,121=>_current.Field121.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,112=>_current.Field112.IsNULL,113=>_current.Field113.IsNULL,114=>_current.Field114.IsNULL,115=>_current.Field115.IsNULL,116=>_current.Field116.IsNULL,117=>_current.Field117.IsNULL,118=>_current.Field118.IsNULL,119=>_current.Field119.IsNULL,120=>_current.Field120.IsNULL,121=>_current.Field121.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field120.IsNULL){if(!_table[120].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field120.TruncationWillOccur(_table[120],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field121.IsNULL){if(!_table[121].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field121.TruncationWillOccur(_table[121],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field112.Into()} would truncate or overflow in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field113.Into()} would truncate or overflow in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field114.Into()} would truncate or overflow in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field115.Into()} would truncate or overflow in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field116.Into()} would truncate or overflow in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field117.Into()} would truncate or overflow in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field118.Into()} would truncate or overflow in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field119.Into()} would truncate or overflow in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field120.IsNULL){if(!_table[120].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[120].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field120.TruncationWillOccur(_table[120],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field120.Into()} would truncate or overflow in {_table.IntoString()}.{_table[120].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field121.IsNULL){if(!_table[121].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[121].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field121.TruncationWillOccur(_table[121],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field121.Into()} would truncate or overflow in {_table.IntoString()}.{_table[121].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where T120:struct,IDataType where T121:struct,IDataType where T122:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,112=>_current.Field112.Val,113=>_current.Field113.Val,114=>_current.Field114.Val,115=>_current.Field115.Val,116=>_current.Field116.Val,117=>_current.Field117.Val,118=>_current.Field118.Val,119=>_current.Field119.Val,120=>_current.Field120.Val,121=>_current.Field121.Val,122=>_current.Field122.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,112=>_current.Field112.IsNULL,113=>_current.Field113.IsNULL,114=>_current.Field114.IsNULL,115=>_current.Field115.IsNULL,116=>_current.Field116.IsNULL,117=>_current.Field117.IsNULL,118=>_current.Field118.IsNULL,119=>_current.Field119.IsNULL,120=>_current.Field120.IsNULL,121=>_current.Field121.IsNULL,122=>_current.Field122.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field120.IsNULL){if(!_table[120].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field120.TruncationWillOccur(_table[120],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field121.IsNULL){if(!_table[121].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field121.TruncationWillOccur(_table[121],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field122.IsNULL){if(!_table[122].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field122.TruncationWillOccur(_table[122],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field112.Into()} would truncate or overflow in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field113.Into()} would truncate or overflow in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field114.Into()} would truncate or overflow in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field115.Into()} would truncate or overflow in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field116.Into()} would truncate or overflow in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field117.Into()} would truncate or overflow in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field118.Into()} would truncate or overflow in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field119.Into()} would truncate or overflow in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field120.IsNULL){if(!_table[120].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[120].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field120.TruncationWillOccur(_table[120],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field120.Into()} would truncate or overflow in {_table.IntoString()}.{_table[120].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field121.IsNULL){if(!_table[121].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[121].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field121.TruncationWillOccur(_table[121],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field121.Into()} would truncate or overflow in {_table.IntoString()}.{_table[121].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field122.IsNULL){if(!_table[122].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[122].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field122.TruncationWillOccur(_table[122],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field122.Into()} would truncate or overflow in {_table.IntoString()}.{_table[122].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where T120:struct,IDataType where T121:struct,IDataType where T122:struct,IDataType where T123:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,112=>_current.Field112.Val,113=>_current.Field113.Val,114=>_current.Field114.Val,115=>_current.Field115.Val,116=>_current.Field116.Val,117=>_current.Field117.Val,118=>_current.Field118.Val,119=>_current.Field119.Val,120=>_current.Field120.Val,121=>_current.Field121.Val,122=>_current.Field122.Val,123=>_current.Field123.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,112=>_current.Field112.IsNULL,113=>_current.Field113.IsNULL,114=>_current.Field114.IsNULL,115=>_current.Field115.IsNULL,116=>_current.Field116.IsNULL,117=>_current.Field117.IsNULL,118=>_current.Field118.IsNULL,119=>_current.Field119.IsNULL,120=>_current.Field120.IsNULL,121=>_current.Field121.IsNULL,122=>_current.Field122.IsNULL,123=>_current.Field123.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field120.IsNULL){if(!_table[120].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field120.TruncationWillOccur(_table[120],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field121.IsNULL){if(!_table[121].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field121.TruncationWillOccur(_table[121],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field122.IsNULL){if(!_table[122].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field122.TruncationWillOccur(_table[122],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field123.IsNULL){if(!_table[123].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field123.TruncationWillOccur(_table[123],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field112.Into()} would truncate or overflow in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field113.Into()} would truncate or overflow in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field114.Into()} would truncate or overflow in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field115.Into()} would truncate or overflow in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field116.Into()} would truncate or overflow in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field117.Into()} would truncate or overflow in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field118.Into()} would truncate or overflow in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field119.Into()} would truncate or overflow in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field120.IsNULL){if(!_table[120].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[120].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field120.TruncationWillOccur(_table[120],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field120.Into()} would truncate or overflow in {_table.IntoString()}.{_table[120].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field121.IsNULL){if(!_table[121].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[121].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field121.TruncationWillOccur(_table[121],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field121.Into()} would truncate or overflow in {_table.IntoString()}.{_table[121].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field122.IsNULL){if(!_table[122].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[122].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field122.TruncationWillOccur(_table[122],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field122.Into()} would truncate or overflow in {_table.IntoString()}.{_table[122].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field123.IsNULL){if(!_table[123].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[123].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field123.TruncationWillOccur(_table[123],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field123.Into()} would truncate or overflow in {_table.IntoString()}.{_table[123].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where T120:struct,IDataType where T121:struct,IDataType where T122:struct,IDataType where T123:struct,IDataType where T124:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,112=>_current.Field112.Val,113=>_current.Field113.Val,114=>_current.Field114.Val,115=>_current.Field115.Val,116=>_current.Field116.Val,117=>_current.Field117.Val,118=>_current.Field118.Val,119=>_current.Field119.Val,120=>_current.Field120.Val,121=>_current.Field121.Val,122=>_current.Field122.Val,123=>_current.Field123.Val,124=>_current.Field124.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,112=>_current.Field112.IsNULL,113=>_current.Field113.IsNULL,114=>_current.Field114.IsNULL,115=>_current.Field115.IsNULL,116=>_current.Field116.IsNULL,117=>_current.Field117.IsNULL,118=>_current.Field118.IsNULL,119=>_current.Field119.IsNULL,120=>_current.Field120.IsNULL,121=>_current.Field121.IsNULL,122=>_current.Field122.IsNULL,123=>_current.Field123.IsNULL,124=>_current.Field124.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field120.IsNULL){if(!_table[120].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field120.TruncationWillOccur(_table[120],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field121.IsNULL){if(!_table[121].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field121.TruncationWillOccur(_table[121],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field122.IsNULL){if(!_table[122].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field122.TruncationWillOccur(_table[122],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field123.IsNULL){if(!_table[123].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field123.TruncationWillOccur(_table[123],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field124.IsNULL){if(!_table[124].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field124.TruncationWillOccur(_table[124],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field112.Into()} would truncate or overflow in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field113.Into()} would truncate or overflow in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field114.Into()} would truncate or overflow in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field115.Into()} would truncate or overflow in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field116.Into()} would truncate or overflow in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field117.Into()} would truncate or overflow in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field118.Into()} would truncate or overflow in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field119.Into()} would truncate or overflow in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field120.IsNULL){if(!_table[120].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[120].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field120.TruncationWillOccur(_table[120],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field120.Into()} would truncate or overflow in {_table.IntoString()}.{_table[120].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field121.IsNULL){if(!_table[121].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[121].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field121.TruncationWillOccur(_table[121],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field121.Into()} would truncate or overflow in {_table.IntoString()}.{_table[121].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field122.IsNULL){if(!_table[122].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[122].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field122.TruncationWillOccur(_table[122],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field122.Into()} would truncate or overflow in {_table.IntoString()}.{_table[122].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field123.IsNULL){if(!_table[123].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[123].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field123.TruncationWillOccur(_table[123],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field123.Into()} would truncate or overflow in {_table.IntoString()}.{_table[123].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field124.IsNULL){if(!_table[124].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[124].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field124.TruncationWillOccur(_table[124],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field124.Into()} would truncate or overflow in {_table.IntoString()}.{_table[124].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where T120:struct,IDataType where T121:struct,IDataType where T122:struct,IDataType where T123:struct,IDataType where T124:struct,IDataType where T125:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,112=>_current.Field112.Val,113=>_current.Field113.Val,114=>_current.Field114.Val,115=>_current.Field115.Val,116=>_current.Field116.Val,117=>_current.Field117.Val,118=>_current.Field118.Val,119=>_current.Field119.Val,120=>_current.Field120.Val,121=>_current.Field121.Val,122=>_current.Field122.Val,123=>_current.Field123.Val,124=>_current.Field124.Val,125=>_current.Field125.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,112=>_current.Field112.IsNULL,113=>_current.Field113.IsNULL,114=>_current.Field114.IsNULL,115=>_current.Field115.IsNULL,116=>_current.Field116.IsNULL,117=>_current.Field117.IsNULL,118=>_current.Field118.IsNULL,119=>_current.Field119.IsNULL,120=>_current.Field120.IsNULL,121=>_current.Field121.IsNULL,122=>_current.Field122.IsNULL,123=>_current.Field123.IsNULL,124=>_current.Field124.IsNULL,125=>_current.Field125.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field120.IsNULL){if(!_table[120].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field120.TruncationWillOccur(_table[120],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field121.IsNULL){if(!_table[121].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field121.TruncationWillOccur(_table[121],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field122.IsNULL){if(!_table[122].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field122.TruncationWillOccur(_table[122],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field123.IsNULL){if(!_table[123].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field123.TruncationWillOccur(_table[123],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field124.IsNULL){if(!_table[124].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field124.TruncationWillOccur(_table[124],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field125.IsNULL){if(!_table[125].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field125.TruncationWillOccur(_table[125],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field112.Into()} would truncate or overflow in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field113.Into()} would truncate or overflow in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field114.Into()} would truncate or overflow in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field115.Into()} would truncate or overflow in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field116.Into()} would truncate or overflow in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field117.Into()} would truncate or overflow in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field118.Into()} would truncate or overflow in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field119.Into()} would truncate or overflow in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field120.IsNULL){if(!_table[120].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[120].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field120.TruncationWillOccur(_table[120],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field120.Into()} would truncate or overflow in {_table.IntoString()}.{_table[120].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field121.IsNULL){if(!_table[121].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[121].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field121.TruncationWillOccur(_table[121],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field121.Into()} would truncate or overflow in {_table.IntoString()}.{_table[121].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field122.IsNULL){if(!_table[122].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[122].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field122.TruncationWillOccur(_table[122],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field122.Into()} would truncate or overflow in {_table.IntoString()}.{_table[122].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field123.IsNULL){if(!_table[123].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[123].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field123.TruncationWillOccur(_table[123],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field123.Into()} would truncate or overflow in {_table.IntoString()}.{_table[123].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field124.IsNULL){if(!_table[124].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[124].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field124.TruncationWillOccur(_table[124],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field124.Into()} would truncate or overflow in {_table.IntoString()}.{_table[124].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field125.IsNULL){if(!_table[125].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[125].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field125.TruncationWillOccur(_table[125],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field125.Into()} would truncate or overflow in {_table.IntoString()}.{_table[125].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where T120:struct,IDataType where T121:struct,IDataType where T122:struct,IDataType where T123:struct,IDataType where T124:struct,IDataType where T125:struct,IDataType where T126:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,112=>_current.Field112.Val,113=>_current.Field113.Val,114=>_current.Field114.Val,115=>_current.Field115.Val,116=>_current.Field116.Val,117=>_current.Field117.Val,118=>_current.Field118.Val,119=>_current.Field119.Val,120=>_current.Field120.Val,121=>_current.Field121.Val,122=>_current.Field122.Val,123=>_current.Field123.Val,124=>_current.Field124.Val,125=>_current.Field125.Val,126=>_current.Field126.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,112=>_current.Field112.IsNULL,113=>_current.Field113.IsNULL,114=>_current.Field114.IsNULL,115=>_current.Field115.IsNULL,116=>_current.Field116.IsNULL,117=>_current.Field117.IsNULL,118=>_current.Field118.IsNULL,119=>_current.Field119.IsNULL,120=>_current.Field120.IsNULL,121=>_current.Field121.IsNULL,122=>_current.Field122.IsNULL,123=>_current.Field123.IsNULL,124=>_current.Field124.IsNULL,125=>_current.Field125.IsNULL,126=>_current.Field126.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field120.IsNULL){if(!_table[120].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field120.TruncationWillOccur(_table[120],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field121.IsNULL){if(!_table[121].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field121.TruncationWillOccur(_table[121],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field122.IsNULL){if(!_table[122].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field122.TruncationWillOccur(_table[122],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field123.IsNULL){if(!_table[123].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field123.TruncationWillOccur(_table[123],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field124.IsNULL){if(!_table[124].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field124.TruncationWillOccur(_table[124],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field125.IsNULL){if(!_table[125].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field125.TruncationWillOccur(_table[125],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field126.IsNULL){if(!_table[126].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field126.TruncationWillOccur(_table[126],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field112.Into()} would truncate or overflow in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field113.Into()} would truncate or overflow in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field114.Into()} would truncate or overflow in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field115.Into()} would truncate or overflow in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field116.Into()} would truncate or overflow in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field117.Into()} would truncate or overflow in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field118.Into()} would truncate or overflow in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field119.Into()} would truncate or overflow in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field120.IsNULL){if(!_table[120].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[120].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field120.TruncationWillOccur(_table[120],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field120.Into()} would truncate or overflow in {_table.IntoString()}.{_table[120].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field121.IsNULL){if(!_table[121].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[121].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field121.TruncationWillOccur(_table[121],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field121.Into()} would truncate or overflow in {_table.IntoString()}.{_table[121].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field122.IsNULL){if(!_table[122].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[122].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field122.TruncationWillOccur(_table[122],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field122.Into()} would truncate or overflow in {_table.IntoString()}.{_table[122].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field123.IsNULL){if(!_table[123].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[123].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field123.TruncationWillOccur(_table[123],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field123.Into()} would truncate or overflow in {_table.IntoString()}.{_table[123].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field124.IsNULL){if(!_table[124].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[124].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field124.TruncationWillOccur(_table[124],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field124.Into()} would truncate or overflow in {_table.IntoString()}.{_table[124].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field125.IsNULL){if(!_table[125].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[125].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field125.TruncationWillOccur(_table[125],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field125.Into()} would truncate or overflow in {_table.IntoString()}.{_table[125].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field126.IsNULL){if(!_table[126].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[126].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field126.TruncationWillOccur(_table[126],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field126.Into()} would truncate or overflow in {_table.IntoString()}.{_table[126].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +sealed class IterDataReader<TRowIter,TRow,TProd,TErr,T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126,T127>:IDataReader where T0:struct,IDataType where T1:struct,IDataType where T2:struct,IDataType where T3:struct,IDataType where T4:struct,IDataType where T5:struct,IDataType where T6:struct,IDataType where T7:struct,IDataType where T8:struct,IDataType where T9:struct,IDataType where T10:struct,IDataType where T11:struct,IDataType where T12:struct,IDataType where T13:struct,IDataType where T14:struct,IDataType where T15:struct,IDataType where T16:struct,IDataType where T17:struct,IDataType where T18:struct,IDataType where T19:struct,IDataType where T20:struct,IDataType where T21:struct,IDataType where T22:struct,IDataType where T23:struct,IDataType where T24:struct,IDataType where T25:struct,IDataType where T26:struct,IDataType where T27:struct,IDataType where T28:struct,IDataType where T29:struct,IDataType where T30:struct,IDataType where T31:struct,IDataType where T32:struct,IDataType where T33:struct,IDataType where T34:struct,IDataType where T35:struct,IDataType where T36:struct,IDataType where T37:struct,IDataType where T38:struct,IDataType where T39:struct,IDataType where T40:struct,IDataType where T41:struct,IDataType where T42:struct,IDataType where T43:struct,IDataType where T44:struct,IDataType where T45:struct,IDataType where T46:struct,IDataType where T47:struct,IDataType where T48:struct,IDataType where T49:struct,IDataType where T50:struct,IDataType where T51:struct,IDataType where T52:struct,IDataType where T53:struct,IDataType where T54:struct,IDataType where T55:struct,IDataType where T56:struct,IDataType where T57:struct,IDataType where T58:struct,IDataType where T59:struct,IDataType where T60:struct,IDataType where T61:struct,IDataType where T62:struct,IDataType where T63:struct,IDataType where T64:struct,IDataType where T65:struct,IDataType where T66:struct,IDataType where T67:struct,IDataType where T68:struct,IDataType where T69:struct,IDataType where T70:struct,IDataType where T71:struct,IDataType where T72:struct,IDataType where T73:struct,IDataType where T74:struct,IDataType where T75:struct,IDataType where T76:struct,IDataType where T77:struct,IDataType where T78:struct,IDataType where T79:struct,IDataType where T80:struct,IDataType where T81:struct,IDataType where T82:struct,IDataType where T83:struct,IDataType where T84:struct,IDataType where T85:struct,IDataType where T86:struct,IDataType where T87:struct,IDataType where T88:struct,IDataType where T89:struct,IDataType where T90:struct,IDataType where T91:struct,IDataType where T92:struct,IDataType where T93:struct,IDataType where T94:struct,IDataType where T95:struct,IDataType where T96:struct,IDataType where T97:struct,IDataType where T98:struct,IDataType where T99:struct,IDataType where T100:struct,IDataType where T101:struct,IDataType where T102:struct,IDataType where T103:struct,IDataType where T104:struct,IDataType where T105:struct,IDataType where T106:struct,IDataType where T107:struct,IDataType where T108:struct,IDataType where T109:struct,IDataType where T110:struct,IDataType where T111:struct,IDataType where T112:struct,IDataType where T113:struct,IDataType where T114:struct,IDataType where T115:struct,IDataType where T116:struct,IDataType where T117:struct,IDataType where T118:struct,IDataType where T119:struct,IDataType where T120:struct,IDataType where T121:struct,IDataType where T122:struct,IDataType where T123:struct,IDataType where T124:struct,IDataType where T125:struct,IDataType where T126:struct,IDataType where T127:struct,IDataType where TErr:notnull,IBulkRowError where TProd:notnull,IBinSerializable,IProduct<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50,T51,T52,T53,T54,T55,T56,T57,T58,T59,T60,T61,T62,T63,T64,T65,T66,T67,T68,T69,T70,T71,T72,T73,T74,T75,T76,T77,T78,T79,T80,T81,T82,T83,T84,T85,T86,T87,T88,T89,T90,T91,T92,T93,T94,T95,T96,T97,T98,T99,T100,T101,T102,T103,T104,T105,T106,T107,T108,T109,T110,T111,T112,T113,T114,T115,T116,T117,T118,T119,T120,T121,T122,T123,T124,T125,T126,T127>where TRow:notnull,ISum<TProd,TErr>where TRowIter:notnull,IFusedIterator<TRow>{internal IterDataReader(Maybe<ErrorTable>error,UserTable table,Prod<ulong,double>maxErrorsAllowed,ulong currentProcessed,ulong currentError,TRowIter iter,string processName,string userName,bool numericRoundAbort,string truncationStackTrace)=>(_error,_table,_errTableExists,_maxErrorsAllowed,CurrentProcessedCount,CurrentErrorCount,_iter,_errs,_isClosed,_numericRoundAbort,_current,_processName,_userName,_truncationStackTrace, _ser)=(error.IsSome?error.Unwrap():default,table,error.IsSome,maxErrorsAllowed,currentProcessed,currentError,iter,new Vec<Prod<nvarchar,nvarchar,varbinary>>(),false,numericRoundAbort,default!,processName,userName,new(truncationStackTrace),Serializer.New());readonly ErrorTable _error;readonly UserTable _table;TProd _current;Serializer _ser;readonly Prod<ulong,double>_maxErrorsAllowed;Vec<Prod<nvarchar,nvarchar,varbinary>>_errs;TRowIter _iter;readonly nvarchar _truncationStackTrace;readonly string _processName;readonly string _userName;internal ulong CurrentErrorCount;internal ulong CurrentProcessedCount;readonly bool _errTableExists;readonly bool _numericRoundAbort;bool _isClosed;public bool IsClosed=>_isClosed;double CurrentErrorRatio=>(double)CurrentErrorCount/CurrentProcessedCount;public int Depth=>0;public int FieldCount=>_table.ColumnCount;public object this[int ordinal]=>GetValue(ordinal);public object this[string columnName]=>GetValue(GetOrdinal(columnName));public int RecordsAffected=>-1;public void Close()=>Dispose();public void Dispose(){if(_isClosed){return;}(_isClosed,_current,_iter,_ser)=(true,default!,default!,default);if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}_errs=new Vec<Prod<nvarchar,nvarchar,varbinary>>();}public sealed override bool Equals(object?_)=>false;public bool GetBoolean(int ordinal)=>(bool)GetValue(ordinal);public byte GetByte(int ordinal)=>(byte)GetValue(ordinal);public long GetBytes(int ordinal,long dataOffset,byte[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var bytes=(byte[])val;var offset=(int)dataOffset;var len=bytes.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=bytes[offset+i++];}return count;}public char GetChar(int ordinal){var val=(string)GetValue(ordinal);return val.Length==1?val[0]:throw new InvalidCastException();}public long GetChars(int ordinal,long dataOffset,char[]?buffer,int bufferOffset,int length){var val=GetValue(ordinal);var chars=(string)val;var offset=(int)dataOffset;var len=chars.Length-offset;if(len<=0){return 0L;}var count=Math.Min(len,length);var i=0;while(i<count){buffer![bufferOffset+i]=chars[offset+i++];}return count;}public IDataReader GetData(int _)=>throw new NotSupportedException();public string GetDataTypeName(int ordinal)=>GetFieldType(ordinal).Name;public DateTime GetDateTime(int ordinal){var type=GetFieldType(ordinal);return type==typeof(DateTime)?(DateTime)GetValue(ordinal):((SqlDateTime)GetValue(ordinal)).Value;}public decimal GetDecimal(int ordinal){var type=GetFieldType(ordinal);return type==typeof(SqlDecimal)?((SqlDecimal)GetValue(ordinal)).Value:((SqlMoney)GetValue(ordinal)).Value;}public double GetDouble(int ordinal)=>(double)GetValue(ordinal);public Type GetFieldType(int ordinal)=>_typeMap[_table[(ushort)ordinal].DataType];public float GetFloat(int ordinal)=>(float)GetValue(ordinal);public Guid GetGuid(int ordinal)=>(Guid)GetValue(ordinal);public sealed override int GetHashCode()=>0;public short GetInt16(int ordinal)=>(short)GetValue(ordinal);public int GetInt32(int ordinal)=>(int)GetValue(ordinal);public long GetInt64(int ordinal)=>(long)GetValue(ordinal);public string GetName(int ordinal)=>_table[(ushort)ordinal].Name;public int GetOrdinal(string name){for(ushort i=0;i<_table.ColumnCount;i++){if(_table.Schema.Name.Culture.CompareInfo.Compare(name,_table[i].Name,_table.Schema.Name.Options)==0){return i;}}throw new ArgumentException($"The column name, {name}, does not exist in {_table.IntoString()}.");}public DataTable GetSchemaTable(){DataTable schema=new(){MinimumCapacity=_table.ColumnCount,TableName=$"{_table.Schema.Name.Value}.{_table.Name}",Locale=_table.Schema.Name.Culture};_=schema.Columns.Add("Ordinal",typeof(ushort));_=schema.Columns.Add("ColumnName",typeof(string));_=schema.Columns.Add("DataType",typeof(Type));for(ushort i=0;i<_table.ColumnCount;i++){ref readonly var col=ref _table[i];_=schema.Rows.Add(i,col.Name,GetFieldType(i));}return schema;}public string GetString(int ordinal)=>(string)GetValue(ordinal);public object GetValue(int ordinal)=>ordinal switch{0=>_current.Field0.Val,1=>_current.Field1.Val,2=>_current.Field2.Val,3=>_current.Field3.Val,4=>_current.Field4.Val,5=>_current.Field5.Val,6=>_current.Field6.Val,7=>_current.Field7.Val,8=>_current.Field8.Val,9=>_current.Field9.Val,10=>_current.Field10.Val,11=>_current.Field11.Val,12=>_current.Field12.Val,13=>_current.Field13.Val,14=>_current.Field14.Val,15=>_current.Field15.Val,16=>_current.Field16.Val,17=>_current.Field17.Val,18=>_current.Field18.Val,19=>_current.Field19.Val,20=>_current.Field20.Val,21=>_current.Field21.Val,22=>_current.Field22.Val,23=>_current.Field23.Val,24=>_current.Field24.Val,25=>_current.Field25.Val,26=>_current.Field26.Val,27=>_current.Field27.Val,28=>_current.Field28.Val,29=>_current.Field29.Val,30=>_current.Field30.Val,31=>_current.Field31.Val,32=>_current.Field32.Val,33=>_current.Field33.Val,34=>_current.Field34.Val,35=>_current.Field35.Val,36=>_current.Field36.Val,37=>_current.Field37.Val,38=>_current.Field38.Val,39=>_current.Field39.Val,40=>_current.Field40.Val,41=>_current.Field41.Val,42=>_current.Field42.Val,43=>_current.Field43.Val,44=>_current.Field44.Val,45=>_current.Field45.Val,46=>_current.Field46.Val,47=>_current.Field47.Val,48=>_current.Field48.Val,49=>_current.Field49.Val,50=>_current.Field50.Val,51=>_current.Field51.Val,52=>_current.Field52.Val,53=>_current.Field53.Val,54=>_current.Field54.Val,55=>_current.Field55.Val,56=>_current.Field56.Val,57=>_current.Field57.Val,58=>_current.Field58.Val,59=>_current.Field59.Val,60=>_current.Field60.Val,61=>_current.Field61.Val,62=>_current.Field62.Val,63=>_current.Field63.Val,64=>_current.Field64.Val,65=>_current.Field65.Val,66=>_current.Field66.Val,67=>_current.Field67.Val,68=>_current.Field68.Val,69=>_current.Field69.Val,70=>_current.Field70.Val,71=>_current.Field71.Val,72=>_current.Field72.Val,73=>_current.Field73.Val,74=>_current.Field74.Val,75=>_current.Field75.Val,76=>_current.Field76.Val,77=>_current.Field77.Val,78=>_current.Field78.Val,79=>_current.Field79.Val,80=>_current.Field80.Val,81=>_current.Field81.Val,82=>_current.Field82.Val,83=>_current.Field83.Val,84=>_current.Field84.Val,85=>_current.Field85.Val,86=>_current.Field86.Val,87=>_current.Field87.Val,88=>_current.Field88.Val,89=>_current.Field89.Val,90=>_current.Field90.Val,91=>_current.Field91.Val,92=>_current.Field92.Val,93=>_current.Field93.Val,94=>_current.Field94.Val,95=>_current.Field95.Val,96=>_current.Field96.Val,97=>_current.Field97.Val,98=>_current.Field98.Val,99=>_current.Field99.Val,100=>_current.Field100.Val,101=>_current.Field101.Val,102=>_current.Field102.Val,103=>_current.Field103.Val,104=>_current.Field104.Val,105=>_current.Field105.Val,106=>_current.Field106.Val,107=>_current.Field107.Val,108=>_current.Field108.Val,109=>_current.Field109.Val,110=>_current.Field110.Val,111=>_current.Field111.Val,112=>_current.Field112.Val,113=>_current.Field113.Val,114=>_current.Field114.Val,115=>_current.Field115.Val,116=>_current.Field116.Val,117=>_current.Field117.Val,118=>_current.Field118.Val,119=>_current.Field119.Val,120=>_current.Field120.Val,121=>_current.Field121.Val,122=>_current.Field122.Val,123=>_current.Field123.Val,124=>_current.Field124.Val,125=>_current.Field125.Val,126=>_current.Field126.Val,127=>_current.Field127.Val,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public int GetValues(object[]values){var count=Math.Min(values.Length,_table.ColumnCount);for(var i=0;i<count;i++){values[i]=GetValue(i);}return count;}public bool IsDBNull(int ordinal)=>ordinal switch{0=>_current.Field0.IsNULL,1=>_current.Field1.IsNULL,2=>_current.Field2.IsNULL,3=>_current.Field3.IsNULL,4=>_current.Field4.IsNULL,5=>_current.Field5.IsNULL,6=>_current.Field6.IsNULL,7=>_current.Field7.IsNULL,8=>_current.Field8.IsNULL,9=>_current.Field9.IsNULL,10=>_current.Field10.IsNULL,11=>_current.Field11.IsNULL,12=>_current.Field12.IsNULL,13=>_current.Field13.IsNULL,14=>_current.Field14.IsNULL,15=>_current.Field15.IsNULL,16=>_current.Field16.IsNULL,17=>_current.Field17.IsNULL,18=>_current.Field18.IsNULL,19=>_current.Field19.IsNULL,20=>_current.Field20.IsNULL,21=>_current.Field21.IsNULL,22=>_current.Field22.IsNULL,23=>_current.Field23.IsNULL,24=>_current.Field24.IsNULL,25=>_current.Field25.IsNULL,26=>_current.Field26.IsNULL,27=>_current.Field27.IsNULL,28=>_current.Field28.IsNULL,29=>_current.Field29.IsNULL,30=>_current.Field30.IsNULL,31=>_current.Field31.IsNULL,32=>_current.Field32.IsNULL,33=>_current.Field33.IsNULL,34=>_current.Field34.IsNULL,35=>_current.Field35.IsNULL,36=>_current.Field36.IsNULL,37=>_current.Field37.IsNULL,38=>_current.Field38.IsNULL,39=>_current.Field39.IsNULL,40=>_current.Field40.IsNULL,41=>_current.Field41.IsNULL,42=>_current.Field42.IsNULL,43=>_current.Field43.IsNULL,44=>_current.Field44.IsNULL,45=>_current.Field45.IsNULL,46=>_current.Field46.IsNULL,47=>_current.Field47.IsNULL,48=>_current.Field48.IsNULL,49=>_current.Field49.IsNULL,50=>_current.Field50.IsNULL,51=>_current.Field51.IsNULL,52=>_current.Field52.IsNULL,53=>_current.Field53.IsNULL,54=>_current.Field54.IsNULL,55=>_current.Field55.IsNULL,56=>_current.Field56.IsNULL,57=>_current.Field57.IsNULL,58=>_current.Field58.IsNULL,59=>_current.Field59.IsNULL,60=>_current.Field60.IsNULL,61=>_current.Field61.IsNULL,62=>_current.Field62.IsNULL,63=>_current.Field63.IsNULL,64=>_current.Field64.IsNULL,65=>_current.Field65.IsNULL,66=>_current.Field66.IsNULL,67=>_current.Field67.IsNULL,68=>_current.Field68.IsNULL,69=>_current.Field69.IsNULL,70=>_current.Field70.IsNULL,71=>_current.Field71.IsNULL,72=>_current.Field72.IsNULL,73=>_current.Field73.IsNULL,74=>_current.Field74.IsNULL,75=>_current.Field75.IsNULL,76=>_current.Field76.IsNULL,77=>_current.Field77.IsNULL,78=>_current.Field78.IsNULL,79=>_current.Field79.IsNULL,80=>_current.Field80.IsNULL,81=>_current.Field81.IsNULL,82=>_current.Field82.IsNULL,83=>_current.Field83.IsNULL,84=>_current.Field84.IsNULL,85=>_current.Field85.IsNULL,86=>_current.Field86.IsNULL,87=>_current.Field87.IsNULL,88=>_current.Field88.IsNULL,89=>_current.Field89.IsNULL,90=>_current.Field90.IsNULL,91=>_current.Field91.IsNULL,92=>_current.Field92.IsNULL,93=>_current.Field93.IsNULL,94=>_current.Field94.IsNULL,95=>_current.Field95.IsNULL,96=>_current.Field96.IsNULL,97=>_current.Field97.IsNULL,98=>_current.Field98.IsNULL,99=>_current.Field99.IsNULL,100=>_current.Field100.IsNULL,101=>_current.Field101.IsNULL,102=>_current.Field102.IsNULL,103=>_current.Field103.IsNULL,104=>_current.Field104.IsNULL,105=>_current.Field105.IsNULL,106=>_current.Field106.IsNULL,107=>_current.Field107.IsNULL,108=>_current.Field108.IsNULL,109=>_current.Field109.IsNULL,110=>_current.Field110.IsNULL,111=>_current.Field111.IsNULL,112=>_current.Field112.IsNULL,113=>_current.Field113.IsNULL,114=>_current.Field114.IsNULL,115=>_current.Field115.IsNULL,116=>_current.Field116.IsNULL,117=>_current.Field117.IsNULL,118=>_current.Field118.IsNULL,119=>_current.Field119.IsNULL,120=>_current.Field120.IsNULL,121=>_current.Field121.IsNULL,122=>_current.Field122.IsNULL,123=>_current.Field123.IsNULL,124=>_current.Field124.IsNULL,125=>_current.Field125.IsNULL,126=>_current.Field126.IsNULL,127=>_current.Field127.IsNULL,_=>throw new ArgumentOutOfRangeException(nameof(ordinal)),};public bool NextResult(){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}public bool Read(){while(true){if(CurrentErrorCount>_maxErrorsAllowed.Item0&&CurrentErrorRatio>_maxErrorsAllowed.Item1){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}var cur=_iter!.Next();if(cur.IsNone){if(_errTableExists){_=WriteErrors(in _error,ref _errs,_processName,_userName,ushort.MinValue);}(_errs,_current,_iter,_ser)=(new Vec<Prod<nvarchar,nvarchar,varbinary>>(),default!,default!,default);return false;}CurrentProcessedCount++;var res=cur.Unwrap();if(res.Variant==Var2.V1){CurrentErrorCount++;if(_errTableExists){var err=res.Variant1;_=_errs.Push(new(err.Trace,err.Message,err.Data));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);}continue;}_current=res.Variant0;if(_errTableExists?TruncateOverflowCheckAndLog():TruncateOverflowCheck()){continue;}else{return true;}}}public sealed override string ToString()=>string.Empty;bool TruncateOverflowCheck(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field120.IsNULL){if(!_table[120].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field120.TruncationWillOccur(_table[120],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field121.IsNULL){if(!_table[121].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field121.TruncationWillOccur(_table[121],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field122.IsNULL){if(!_table[122].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field122.TruncationWillOccur(_table[122],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field123.IsNULL){if(!_table[123].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field123.TruncationWillOccur(_table[123],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field124.IsNULL){if(!_table[124].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field124.TruncationWillOccur(_table[124],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field125.IsNULL){if(!_table[125].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field125.TruncationWillOccur(_table[125],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field126.IsNULL){if(!_table[126].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field126.TruncationWillOccur(_table[126],_numericRoundAbort)){CurrentErrorCount++;return true;}if(_current.Field127.IsNULL){if(!_table[127].IsNullable){CurrentErrorCount++;return true;}}else if(_current.Field127.TruncationWillOccur(_table[127],_numericRoundAbort)){CurrentErrorCount++;return true;}return false;}bool TruncateOverflowCheckAndLog(){if(_current.Field0.IsNULL){if(!_table[0].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field0.TruncationWillOccur(_table[0],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field0.Into()} would truncate or overflow in {_table.IntoString()}.{_table[0].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field1.IsNULL){if(!_table[1].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field1.TruncationWillOccur(_table[1],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field1.Into()} would truncate or overflow in {_table.IntoString()}.{_table[1].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field2.IsNULL){if(!_table[2].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field2.TruncationWillOccur(_table[2],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field2.Into()} would truncate or overflow in {_table.IntoString()}.{_table[2].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field3.IsNULL){if(!_table[3].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field3.TruncationWillOccur(_table[3],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field3.Into()} would truncate or overflow in {_table.IntoString()}.{_table[3].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field4.IsNULL){if(!_table[4].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field4.TruncationWillOccur(_table[4],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field4.Into()} would truncate or overflow in {_table.IntoString()}.{_table[4].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field5.IsNULL){if(!_table[5].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field5.TruncationWillOccur(_table[5],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field5.Into()} would truncate or overflow in {_table.IntoString()}.{_table[5].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field6.IsNULL){if(!_table[6].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field6.TruncationWillOccur(_table[6],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field6.Into()} would truncate or overflow in {_table.IntoString()}.{_table[6].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field7.IsNULL){if(!_table[7].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field7.TruncationWillOccur(_table[7],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field7.Into()} would truncate or overflow in {_table.IntoString()}.{_table[7].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field8.IsNULL){if(!_table[8].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field8.TruncationWillOccur(_table[8],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field8.Into()} would truncate or overflow in {_table.IntoString()}.{_table[8].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field9.IsNULL){if(!_table[9].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field9.TruncationWillOccur(_table[9],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field9.Into()} would truncate or overflow in {_table.IntoString()}.{_table[9].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field10.IsNULL){if(!_table[10].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field10.TruncationWillOccur(_table[10],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field10.Into()} would truncate or overflow in {_table.IntoString()}.{_table[10].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field11.IsNULL){if(!_table[11].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field11.TruncationWillOccur(_table[11],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field11.Into()} would truncate or overflow in {_table.IntoString()}.{_table[11].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field12.IsNULL){if(!_table[12].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field12.TruncationWillOccur(_table[12],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field12.Into()} would truncate or overflow in {_table.IntoString()}.{_table[12].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field13.IsNULL){if(!_table[13].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field13.TruncationWillOccur(_table[13],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field13.Into()} would truncate or overflow in {_table.IntoString()}.{_table[13].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field14.IsNULL){if(!_table[14].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field14.TruncationWillOccur(_table[14],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field14.Into()} would truncate or overflow in {_table.IntoString()}.{_table[14].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field15.IsNULL){if(!_table[15].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field15.TruncationWillOccur(_table[15],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field15.Into()} would truncate or overflow in {_table.IntoString()}.{_table[15].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field16.IsNULL){if(!_table[16].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field16.TruncationWillOccur(_table[16],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field16.Into()} would truncate or overflow in {_table.IntoString()}.{_table[16].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field17.IsNULL){if(!_table[17].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field17.TruncationWillOccur(_table[17],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field17.Into()} would truncate or overflow in {_table.IntoString()}.{_table[17].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field18.IsNULL){if(!_table[18].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field18.TruncationWillOccur(_table[18],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field18.Into()} would truncate or overflow in {_table.IntoString()}.{_table[18].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field19.IsNULL){if(!_table[19].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field19.TruncationWillOccur(_table[19],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field19.Into()} would truncate or overflow in {_table.IntoString()}.{_table[19].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field20.IsNULL){if(!_table[20].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field20.TruncationWillOccur(_table[20],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field20.Into()} would truncate or overflow in {_table.IntoString()}.{_table[20].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field21.IsNULL){if(!_table[21].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field21.TruncationWillOccur(_table[21],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field21.Into()} would truncate or overflow in {_table.IntoString()}.{_table[21].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field22.IsNULL){if(!_table[22].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field22.TruncationWillOccur(_table[22],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field22.Into()} would truncate or overflow in {_table.IntoString()}.{_table[22].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field23.IsNULL){if(!_table[23].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field23.TruncationWillOccur(_table[23],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field23.Into()} would truncate or overflow in {_table.IntoString()}.{_table[23].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field24.IsNULL){if(!_table[24].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field24.TruncationWillOccur(_table[24],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field24.Into()} would truncate or overflow in {_table.IntoString()}.{_table[24].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field25.IsNULL){if(!_table[25].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field25.TruncationWillOccur(_table[25],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field25.Into()} would truncate or overflow in {_table.IntoString()}.{_table[25].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field26.IsNULL){if(!_table[26].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field26.TruncationWillOccur(_table[26],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field26.Into()} would truncate or overflow in {_table.IntoString()}.{_table[26].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field27.IsNULL){if(!_table[27].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field27.TruncationWillOccur(_table[27],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field27.Into()} would truncate or overflow in {_table.IntoString()}.{_table[27].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field28.IsNULL){if(!_table[28].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field28.TruncationWillOccur(_table[28],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field28.Into()} would truncate or overflow in {_table.IntoString()}.{_table[28].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field29.IsNULL){if(!_table[29].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field29.TruncationWillOccur(_table[29],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field29.Into()} would truncate or overflow in {_table.IntoString()}.{_table[29].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field30.IsNULL){if(!_table[30].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field30.TruncationWillOccur(_table[30],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field30.Into()} would truncate or overflow in {_table.IntoString()}.{_table[30].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field31.IsNULL){if(!_table[31].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field31.TruncationWillOccur(_table[31],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field31.Into()} would truncate or overflow in {_table.IntoString()}.{_table[31].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field32.IsNULL){if(!_table[32].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field32.TruncationWillOccur(_table[32],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field32.Into()} would truncate or overflow in {_table.IntoString()}.{_table[32].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field33.IsNULL){if(!_table[33].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field33.TruncationWillOccur(_table[33],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field33.Into()} would truncate or overflow in {_table.IntoString()}.{_table[33].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field34.IsNULL){if(!_table[34].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field34.TruncationWillOccur(_table[34],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field34.Into()} would truncate or overflow in {_table.IntoString()}.{_table[34].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field35.IsNULL){if(!_table[35].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field35.TruncationWillOccur(_table[35],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field35.Into()} would truncate or overflow in {_table.IntoString()}.{_table[35].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field36.IsNULL){if(!_table[36].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field36.TruncationWillOccur(_table[36],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field36.Into()} would truncate or overflow in {_table.IntoString()}.{_table[36].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field37.IsNULL){if(!_table[37].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field37.TruncationWillOccur(_table[37],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field37.Into()} would truncate or overflow in {_table.IntoString()}.{_table[37].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field38.IsNULL){if(!_table[38].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field38.TruncationWillOccur(_table[38],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field38.Into()} would truncate or overflow in {_table.IntoString()}.{_table[38].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field39.IsNULL){if(!_table[39].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field39.TruncationWillOccur(_table[39],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field39.Into()} would truncate or overflow in {_table.IntoString()}.{_table[39].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field40.IsNULL){if(!_table[40].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field40.TruncationWillOccur(_table[40],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field40.Into()} would truncate or overflow in {_table.IntoString()}.{_table[40].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field41.IsNULL){if(!_table[41].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field41.TruncationWillOccur(_table[41],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field41.Into()} would truncate or overflow in {_table.IntoString()}.{_table[41].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field42.IsNULL){if(!_table[42].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field42.TruncationWillOccur(_table[42],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field42.Into()} would truncate or overflow in {_table.IntoString()}.{_table[42].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field43.IsNULL){if(!_table[43].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field43.TruncationWillOccur(_table[43],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field43.Into()} would truncate or overflow in {_table.IntoString()}.{_table[43].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field44.IsNULL){if(!_table[44].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field44.TruncationWillOccur(_table[44],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field44.Into()} would truncate or overflow in {_table.IntoString()}.{_table[44].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field45.IsNULL){if(!_table[45].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field45.TruncationWillOccur(_table[45],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field45.Into()} would truncate or overflow in {_table.IntoString()}.{_table[45].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field46.IsNULL){if(!_table[46].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field46.TruncationWillOccur(_table[46],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field46.Into()} would truncate or overflow in {_table.IntoString()}.{_table[46].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field47.IsNULL){if(!_table[47].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field47.TruncationWillOccur(_table[47],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field47.Into()} would truncate or overflow in {_table.IntoString()}.{_table[47].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field48.IsNULL){if(!_table[48].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field48.TruncationWillOccur(_table[48],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field48.Into()} would truncate or overflow in {_table.IntoString()}.{_table[48].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field49.IsNULL){if(!_table[49].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field49.TruncationWillOccur(_table[49],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field49.Into()} would truncate or overflow in {_table.IntoString()}.{_table[49].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field50.IsNULL){if(!_table[50].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field50.TruncationWillOccur(_table[50],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field50.Into()} would truncate or overflow in {_table.IntoString()}.{_table[50].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field51.IsNULL){if(!_table[51].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field51.TruncationWillOccur(_table[51],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field51.Into()} would truncate or overflow in {_table.IntoString()}.{_table[51].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field52.IsNULL){if(!_table[52].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field52.TruncationWillOccur(_table[52],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field52.Into()} would truncate or overflow in {_table.IntoString()}.{_table[52].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field53.IsNULL){if(!_table[53].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field53.TruncationWillOccur(_table[53],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field53.Into()} would truncate or overflow in {_table.IntoString()}.{_table[53].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field54.IsNULL){if(!_table[54].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field54.TruncationWillOccur(_table[54],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field54.Into()} would truncate or overflow in {_table.IntoString()}.{_table[54].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field55.IsNULL){if(!_table[55].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field55.TruncationWillOccur(_table[55],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field55.Into()} would truncate or overflow in {_table.IntoString()}.{_table[55].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field56.IsNULL){if(!_table[56].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field56.TruncationWillOccur(_table[56],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field56.Into()} would truncate or overflow in {_table.IntoString()}.{_table[56].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field57.IsNULL){if(!_table[57].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field57.TruncationWillOccur(_table[57],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field57.Into()} would truncate or overflow in {_table.IntoString()}.{_table[57].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field58.IsNULL){if(!_table[58].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field58.TruncationWillOccur(_table[58],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field58.Into()} would truncate or overflow in {_table.IntoString()}.{_table[58].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field59.IsNULL){if(!_table[59].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field59.TruncationWillOccur(_table[59],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field59.Into()} would truncate or overflow in {_table.IntoString()}.{_table[59].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field60.IsNULL){if(!_table[60].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field60.TruncationWillOccur(_table[60],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field60.Into()} would truncate or overflow in {_table.IntoString()}.{_table[60].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field61.IsNULL){if(!_table[61].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field61.TruncationWillOccur(_table[61],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field61.Into()} would truncate or overflow in {_table.IntoString()}.{_table[61].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field62.IsNULL){if(!_table[62].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field62.TruncationWillOccur(_table[62],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field62.Into()} would truncate or overflow in {_table.IntoString()}.{_table[62].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field63.IsNULL){if(!_table[63].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field63.TruncationWillOccur(_table[63],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field63.Into()} would truncate or overflow in {_table.IntoString()}.{_table[63].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field64.IsNULL){if(!_table[64].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field64.TruncationWillOccur(_table[64],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field64.Into()} would truncate or overflow in {_table.IntoString()}.{_table[64].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field65.IsNULL){if(!_table[65].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field65.TruncationWillOccur(_table[65],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field65.Into()} would truncate or overflow in {_table.IntoString()}.{_table[65].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field66.IsNULL){if(!_table[66].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field66.TruncationWillOccur(_table[66],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field66.Into()} would truncate or overflow in {_table.IntoString()}.{_table[66].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field67.IsNULL){if(!_table[67].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field67.TruncationWillOccur(_table[67],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field67.Into()} would truncate or overflow in {_table.IntoString()}.{_table[67].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field68.IsNULL){if(!_table[68].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field68.TruncationWillOccur(_table[68],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field68.Into()} would truncate or overflow in {_table.IntoString()}.{_table[68].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field69.IsNULL){if(!_table[69].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field69.TruncationWillOccur(_table[69],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field69.Into()} would truncate or overflow in {_table.IntoString()}.{_table[69].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field70.IsNULL){if(!_table[70].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field70.TruncationWillOccur(_table[70],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field70.Into()} would truncate or overflow in {_table.IntoString()}.{_table[70].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field71.IsNULL){if(!_table[71].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field71.TruncationWillOccur(_table[71],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field71.Into()} would truncate or overflow in {_table.IntoString()}.{_table[71].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field72.IsNULL){if(!_table[72].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field72.TruncationWillOccur(_table[72],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field72.Into()} would truncate or overflow in {_table.IntoString()}.{_table[72].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field73.IsNULL){if(!_table[73].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field73.TruncationWillOccur(_table[73],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field73.Into()} would truncate or overflow in {_table.IntoString()}.{_table[73].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field74.IsNULL){if(!_table[74].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field74.TruncationWillOccur(_table[74],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field74.Into()} would truncate or overflow in {_table.IntoString()}.{_table[74].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field75.IsNULL){if(!_table[75].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field75.TruncationWillOccur(_table[75],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field75.Into()} would truncate or overflow in {_table.IntoString()}.{_table[75].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field76.IsNULL){if(!_table[76].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field76.TruncationWillOccur(_table[76],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field76.Into()} would truncate or overflow in {_table.IntoString()}.{_table[76].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field77.IsNULL){if(!_table[77].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field77.TruncationWillOccur(_table[77],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field77.Into()} would truncate or overflow in {_table.IntoString()}.{_table[77].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field78.IsNULL){if(!_table[78].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field78.TruncationWillOccur(_table[78],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field78.Into()} would truncate or overflow in {_table.IntoString()}.{_table[78].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field79.IsNULL){if(!_table[79].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field79.TruncationWillOccur(_table[79],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field79.Into()} would truncate or overflow in {_table.IntoString()}.{_table[79].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field80.IsNULL){if(!_table[80].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field80.TruncationWillOccur(_table[80],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field80.Into()} would truncate or overflow in {_table.IntoString()}.{_table[80].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field81.IsNULL){if(!_table[81].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field81.TruncationWillOccur(_table[81],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field81.Into()} would truncate or overflow in {_table.IntoString()}.{_table[81].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field82.IsNULL){if(!_table[82].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field82.TruncationWillOccur(_table[82],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field82.Into()} would truncate or overflow in {_table.IntoString()}.{_table[82].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field83.IsNULL){if(!_table[83].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field83.TruncationWillOccur(_table[83],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field83.Into()} would truncate or overflow in {_table.IntoString()}.{_table[83].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field84.IsNULL){if(!_table[84].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field84.TruncationWillOccur(_table[84],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field84.Into()} would truncate or overflow in {_table.IntoString()}.{_table[84].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field85.IsNULL){if(!_table[85].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field85.TruncationWillOccur(_table[85],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field85.Into()} would truncate or overflow in {_table.IntoString()}.{_table[85].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field86.IsNULL){if(!_table[86].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field86.TruncationWillOccur(_table[86],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field86.Into()} would truncate or overflow in {_table.IntoString()}.{_table[86].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field87.IsNULL){if(!_table[87].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field87.TruncationWillOccur(_table[87],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field87.Into()} would truncate or overflow in {_table.IntoString()}.{_table[87].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field88.IsNULL){if(!_table[88].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field88.TruncationWillOccur(_table[88],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field88.Into()} would truncate or overflow in {_table.IntoString()}.{_table[88].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field89.IsNULL){if(!_table[89].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field89.TruncationWillOccur(_table[89],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field89.Into()} would truncate or overflow in {_table.IntoString()}.{_table[89].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field90.IsNULL){if(!_table[90].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field90.TruncationWillOccur(_table[90],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field90.Into()} would truncate or overflow in {_table.IntoString()}.{_table[90].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field91.IsNULL){if(!_table[91].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field91.TruncationWillOccur(_table[91],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field91.Into()} would truncate or overflow in {_table.IntoString()}.{_table[91].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field92.IsNULL){if(!_table[92].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field92.TruncationWillOccur(_table[92],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field92.Into()} would truncate or overflow in {_table.IntoString()}.{_table[92].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field93.IsNULL){if(!_table[93].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field93.TruncationWillOccur(_table[93],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field93.Into()} would truncate or overflow in {_table.IntoString()}.{_table[93].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field94.IsNULL){if(!_table[94].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field94.TruncationWillOccur(_table[94],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field94.Into()} would truncate or overflow in {_table.IntoString()}.{_table[94].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field95.IsNULL){if(!_table[95].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field95.TruncationWillOccur(_table[95],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field95.Into()} would truncate or overflow in {_table.IntoString()}.{_table[95].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field96.IsNULL){if(!_table[96].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field96.TruncationWillOccur(_table[96],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field96.Into()} would truncate or overflow in {_table.IntoString()}.{_table[96].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field97.IsNULL){if(!_table[97].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field97.TruncationWillOccur(_table[97],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field97.Into()} would truncate or overflow in {_table.IntoString()}.{_table[97].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field98.IsNULL){if(!_table[98].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field98.TruncationWillOccur(_table[98],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field98.Into()} would truncate or overflow in {_table.IntoString()}.{_table[98].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field99.IsNULL){if(!_table[99].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field99.TruncationWillOccur(_table[99],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field99.Into()} would truncate or overflow in {_table.IntoString()}.{_table[99].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field100.IsNULL){if(!_table[100].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field100.TruncationWillOccur(_table[100],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field100.Into()} would truncate or overflow in {_table.IntoString()}.{_table[100].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field101.IsNULL){if(!_table[101].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field101.TruncationWillOccur(_table[101],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field101.Into()} would truncate or overflow in {_table.IntoString()}.{_table[101].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field102.IsNULL){if(!_table[102].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field102.TruncationWillOccur(_table[102],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field102.Into()} would truncate or overflow in {_table.IntoString()}.{_table[102].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field103.IsNULL){if(!_table[103].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field103.TruncationWillOccur(_table[103],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field103.Into()} would truncate or overflow in {_table.IntoString()}.{_table[103].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field104.IsNULL){if(!_table[104].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field104.TruncationWillOccur(_table[104],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field104.Into()} would truncate or overflow in {_table.IntoString()}.{_table[104].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field105.IsNULL){if(!_table[105].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field105.TruncationWillOccur(_table[105],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field105.Into()} would truncate or overflow in {_table.IntoString()}.{_table[105].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field106.IsNULL){if(!_table[106].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field106.TruncationWillOccur(_table[106],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field106.Into()} would truncate or overflow in {_table.IntoString()}.{_table[106].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field107.IsNULL){if(!_table[107].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field107.TruncationWillOccur(_table[107],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field107.Into()} would truncate or overflow in {_table.IntoString()}.{_table[107].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field108.IsNULL){if(!_table[108].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field108.TruncationWillOccur(_table[108],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field108.Into()} would truncate or overflow in {_table.IntoString()}.{_table[108].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field109.IsNULL){if(!_table[109].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field109.TruncationWillOccur(_table[109],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field109.Into()} would truncate or overflow in {_table.IntoString()}.{_table[109].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field110.IsNULL){if(!_table[110].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field110.TruncationWillOccur(_table[110],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field110.Into()} would truncate or overflow in {_table.IntoString()}.{_table[110].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field111.IsNULL){if(!_table[111].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field111.TruncationWillOccur(_table[111],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field111.Into()} would truncate or overflow in {_table.IntoString()}.{_table[111].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field112.IsNULL){if(!_table[112].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field112.TruncationWillOccur(_table[112],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field112.Into()} would truncate or overflow in {_table.IntoString()}.{_table[112].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field113.IsNULL){if(!_table[113].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field113.TruncationWillOccur(_table[113],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field113.Into()} would truncate or overflow in {_table.IntoString()}.{_table[113].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field114.IsNULL){if(!_table[114].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field114.TruncationWillOccur(_table[114],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field114.Into()} would truncate or overflow in {_table.IntoString()}.{_table[114].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field115.IsNULL){if(!_table[115].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field115.TruncationWillOccur(_table[115],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field115.Into()} would truncate or overflow in {_table.IntoString()}.{_table[115].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field116.IsNULL){if(!_table[116].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field116.TruncationWillOccur(_table[116],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field116.Into()} would truncate or overflow in {_table.IntoString()}.{_table[116].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field117.IsNULL){if(!_table[117].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field117.TruncationWillOccur(_table[117],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field117.Into()} would truncate or overflow in {_table.IntoString()}.{_table[117].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field118.IsNULL){if(!_table[118].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field118.TruncationWillOccur(_table[118],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field118.Into()} would truncate or overflow in {_table.IntoString()}.{_table[118].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field119.IsNULL){if(!_table[119].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field119.TruncationWillOccur(_table[119],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field119.Into()} would truncate or overflow in {_table.IntoString()}.{_table[119].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field120.IsNULL){if(!_table[120].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[120].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field120.TruncationWillOccur(_table[120],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field120.Into()} would truncate or overflow in {_table.IntoString()}.{_table[120].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field121.IsNULL){if(!_table[121].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[121].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field121.TruncationWillOccur(_table[121],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field121.Into()} would truncate or overflow in {_table.IntoString()}.{_table[121].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field122.IsNULL){if(!_table[122].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[122].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field122.TruncationWillOccur(_table[122],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field122.Into()} would truncate or overflow in {_table.IntoString()}.{_table[122].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field123.IsNULL){if(!_table[123].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[123].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field123.TruncationWillOccur(_table[123],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field123.Into()} would truncate or overflow in {_table.IntoString()}.{_table[123].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field124.IsNULL){if(!_table[124].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[124].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field124.TruncationWillOccur(_table[124],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field124.Into()} would truncate or overflow in {_table.IntoString()}.{_table[124].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field125.IsNULL){if(!_table[125].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[125].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field125.TruncationWillOccur(_table[125],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field125.Into()} would truncate or overflow in {_table.IntoString()}.{_table[125].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field126.IsNULL){if(!_table[126].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[126].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field126.TruncationWillOccur(_table[126],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field126.Into()} would truncate or overflow in {_table.IntoString()}.{_table[126].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}if(_current.Field127.IsNULL){if(!_table[127].IsNullable){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"NULLs are not allowed in {_table.IntoString()}.{_table[127].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}}else if(_current.Field127.TruncationWillOccur(_table[127],_numericRoundAbort)){CurrentErrorCount++;_=_current.Ser(ref _ser);_=_errs.Push(new(_truncationStackTrace,new($"{_current.Field127.Into()} would truncate or overflow in {_table.IntoString()}.{_table[127].Name}."),varbinary.New(_ser.SerializedData)));_=WriteErrors(in _error,ref _errs,_processName,_userName,4095);_=_ser.Reset();return true;}return false;}} +} +\ No newline at end of file diff --git a/LICENSE-APACHE b/LICENSE-APACHE @@ -0,0 +1,177 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS diff --git a/LICENSE-MIT b/LICENSE-MIT @@ -0,0 +1,20 @@ +Copyright © 2023 Zack Newman + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +“Software”), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md @@ -0,0 +1,13 @@ +BulkWriters128 +-------- +First 128 "bulk writers". This library along with `BulkWriters256` would +ideally belong in the `SQLServer` library; but due to very long +compilation times, they have been split out. +This library contains a wrappers around `Microsoft.SqlClient.SqlBulkCopy` +in a way that makes writing to tables type safe as well as a way that +automatically avoids common issues like `NULL`s in non-`NULL` columns, +truncation of variable-width values, and issues related to +`NUMERIC_ROUNDABORT`. +This library also writes errors to an error table; so if an issue +arises that is manifests itself as an error, writing to the table can +still continue.